diff options
author | Aleksey Kladov <[email protected]> | 2018-12-19 07:26:24 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-20 09:15:38 +0000 |
commit | b6ce7a6d344fa673addcd299cbb19b050625e04d (patch) | |
tree | 1e4a1531d3c9431a1f2ec43b41b19e5ad6b2ad4c /crates/ra_db | |
parent | dea1a69e1cb0af7d6917d351a811ef205b7dfef9 (diff) |
make it compile
Diffstat (limited to 'crates/ra_db')
-rw-r--r-- | crates/ra_db/src/input.rs | 2 | ||||
-rw-r--r-- | crates/ra_db/src/lib.rs | 1 |
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 | }; |