diff options
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` |