aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_db')
-rw-r--r--crates/ra_db/src/input.rs2
-rw-r--r--crates/ra_db/src/lib.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs
index 9edaf36cf..65b674da9 100644
--- a/crates/ra_db/src/input.rs
+++ b/crates/ra_db/src/input.rs
@@ -98,7 +98,7 @@ salsa::query_group! {
98 storage input; 98 storage input;
99 } 99 }
100 fn source_root_file_by_path(id: SourceRootId, path: RelativePathBuf) -> Option<FileId> { 100 fn source_root_file_by_path(id: SourceRootId, path: RelativePathBuf) -> Option<FileId> {
101 type SourceRootFilesByPathQuery; 101 type SourceRootFileByPathQuery;
102 storage input; 102 storage input;
103 } 103 }
104 fn source_root(id: SourceRootId) -> Arc<SourceRoot> { 104 fn source_root(id: SourceRootId) -> Arc<SourceRoot> {
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs
index 53805aada..783b7a799 100644
--- a/crates/ra_db/src/lib.rs
+++ b/crates/ra_db/src/lib.rs
@@ -28,6 +28,7 @@ pub use crate::{
28 input::{ 28 input::{
29 FilesDatabase, FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, WORKSPACE, 29 FilesDatabase, FileId, CrateId, SourceRoot, SourceRootId, CrateGraph, WORKSPACE,
30 FileTextQuery, FileSourceRootQuery, SourceRootQuery, LibrariesQuery, CrateGraphQuery, 30 FileTextQuery, FileSourceRootQuery, SourceRootQuery, LibrariesQuery, CrateGraphQuery,
31 FileRelativePathQuery, SourceRootFilesQuery, SourceRootFileByPathQuery,
31 }, 32 },
32 loc2id::{LocationIntener, NumericId}, 33 loc2id::{LocationIntener, NumericId},
33}; 34};