diff options
Diffstat (limited to 'crates/ra_ide/src/references.rs')
-rw-r--r-- | crates/ra_ide/src/references.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs index ebded715d..b47f8bcd9 100644 --- a/crates/ra_ide/src/references.rs +++ b/crates/ra_ide/src/references.rs | |||
@@ -17,6 +17,7 @@ mod search_scope; | |||
17 | use hir::{InFile, SourceBinder}; | 17 | use hir::{InFile, SourceBinder}; |
18 | use once_cell::unsync::Lazy; | 18 | use once_cell::unsync::Lazy; |
19 | use ra_db::{SourceDatabase, SourceDatabaseExt}; | 19 | use ra_db::{SourceDatabase, SourceDatabaseExt}; |
20 | use ra_ide_db::RootDatabase; | ||
20 | use ra_prof::profile; | 21 | use ra_prof::profile; |
21 | use ra_syntax::{ | 22 | use ra_syntax::{ |
22 | algo::find_node_at_offset, | 23 | algo::find_node_at_offset, |
@@ -24,9 +25,7 @@ use ra_syntax::{ | |||
24 | match_ast, AstNode, SourceFile, SyntaxKind, SyntaxNode, TextRange, TextUnit, TokenAtOffset, | 25 | match_ast, AstNode, SourceFile, SyntaxKind, SyntaxNode, TextRange, TextUnit, TokenAtOffset, |
25 | }; | 26 | }; |
26 | 27 | ||
27 | use crate::{ | 28 | use crate::{display::ToNav, FilePosition, FileRange, NavigationTarget, RangeInfo}; |
28 | db::RootDatabase, display::ToNav, FilePosition, FileRange, NavigationTarget, RangeInfo, | ||
29 | }; | ||
30 | 29 | ||
31 | pub(crate) use self::{ | 30 | pub(crate) use self::{ |
32 | classify::{classify_name, classify_name_ref}, | 31 | classify::{classify_name, classify_name_ref}, |