diff options
author | Aleksey Kladov <[email protected]> | 2018-11-28 00:25:20 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-28 00:25:20 +0000 |
commit | 11168c464cd962af3336a2cc68295496066edd6c (patch) | |
tree | 2c3b0bceea0dcf092ae8bf9d16c1508295606b09 /crates/ra_analysis/src/hir/query_definitions.rs | |
parent | b2de95879a8d48cc4077895376b0aaed1e972169 (diff) |
move db basics to ra_db
This should allow to move hir to a separate crate
Diffstat (limited to 'crates/ra_analysis/src/hir/query_definitions.rs')
-rw-r--r-- | crates/ra_analysis/src/hir/query_definitions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/hir/query_definitions.rs b/crates/ra_analysis/src/hir/query_definitions.rs index 6570ca994..fbdf8eb67 100644 --- a/crates/ra_analysis/src/hir/query_definitions.rs +++ b/crates/ra_analysis/src/hir/query_definitions.rs | |||
@@ -8,6 +8,7 @@ use ra_syntax::{ | |||
8 | AstNode, SyntaxNode, SmolStr, | 8 | AstNode, SyntaxNode, SmolStr, |
9 | ast::{self, FnDef, FnDefNode, NameOwner, ModuleItemOwner} | 9 | ast::{self, FnDef, FnDefNode, NameOwner, ModuleItemOwner} |
10 | }; | 10 | }; |
11 | use ra_db::SourceRootId; | ||
11 | 12 | ||
12 | use crate::{ | 13 | use crate::{ |
13 | FileId, Cancelable, | 14 | FileId, Cancelable, |
@@ -21,7 +22,6 @@ use crate::{ | |||
21 | nameres::{InputModuleItems, ItemMap, Resolver}, | 22 | nameres::{InputModuleItems, ItemMap, Resolver}, |
22 | }, | 23 | }, |
23 | }, | 24 | }, |
24 | input::SourceRootId, | ||
25 | }; | 25 | }; |
26 | 26 | ||
27 | /// Resolve `FnId` to the corresponding `SyntaxNode` | 27 | /// Resolve `FnId` to the corresponding `SyntaxNode` |