diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_def/src/find_path.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/find_path.rs b/crates/ra_hir_def/src/find_path.rs index 1ca20fabd..c7976535c 100644 --- a/crates/ra_hir_def/src/find_path.rs +++ b/crates/ra_hir_def/src/find_path.rs | |||
@@ -1,5 +1,10 @@ | |||
1 | //! An algorithm to find a path to refer to a certain item. | 1 | //! An algorithm to find a path to refer to a certain item. |
2 | 2 | ||
3 | use std::sync::Arc; | ||
4 | |||
5 | use hir_expand::name::{known, AsName, Name}; | ||
6 | use test_utils::tested_by; | ||
7 | |||
3 | use crate::{ | 8 | use crate::{ |
4 | db::DefDatabase, | 9 | db::DefDatabase, |
5 | item_scope::ItemInNs, | 10 | item_scope::ItemInNs, |
@@ -7,9 +12,6 @@ use crate::{ | |||
7 | visibility::Visibility, | 12 | visibility::Visibility, |
8 | CrateId, ModuleDefId, ModuleId, | 13 | CrateId, ModuleDefId, ModuleId, |
9 | }; | 14 | }; |
10 | use hir_expand::name::{known, AsName, Name}; | ||
11 | use std::sync::Arc; | ||
12 | use test_utils::tested_by; | ||
13 | 15 | ||
14 | const MAX_PATH_LEN: usize = 15; | 16 | const MAX_PATH_LEN: usize = 15; |
15 | 17 | ||