aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_hir_def/src/find_path.rs8
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
3use std::sync::Arc;
4
5use hir_expand::name::{known, AsName, Name};
6use test_utils::tested_by;
7
3use crate::{ 8use 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};
10use hir_expand::name::{known, AsName, Name};
11use std::sync::Arc;
12use test_utils::tested_by;
13 15
14const MAX_PATH_LEN: usize = 15; 16const MAX_PATH_LEN: usize = 15;
15 17