diff options
-rw-r--r-- | crates/ra_analysis/src/completion/mod.rs | 6 | ||||
-rw-r--r-- | crates/ra_analysis/src/completion/reference_completion.rs | 2 | ||||
-rw-r--r-- | crates/ra_analysis/src/hir/mod.rs | 4 | ||||
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 | ||||
-rw-r--r-- | crates/ra_analysis/src/loc2id.rs | 3 |
5 files changed, 8 insertions, 9 deletions
diff --git a/crates/ra_analysis/src/completion/mod.rs b/crates/ra_analysis/src/completion/mod.rs index 1eb804c85..08fb149af 100644 --- a/crates/ra_analysis/src/completion/mod.rs +++ b/crates/ra_analysis/src/completion/mod.rs | |||
@@ -11,9 +11,9 @@ use rustc_hash::{FxHashMap}; | |||
11 | 11 | ||
12 | use crate::{ | 12 | use crate::{ |
13 | db::{self, SyntaxDatabase}, | 13 | db::{self, SyntaxDatabase}, |
14 | hir::{ | 14 | hir:: |
15 | module::{ModuleDescriptor} | 15 | ModuleDescriptor |
16 | }, | 16 | , |
17 | Cancelable, FilePosition | 17 | Cancelable, FilePosition |
18 | }; | 18 | }; |
19 | 19 | ||
diff --git a/crates/ra_analysis/src/completion/reference_completion.rs b/crates/ra_analysis/src/completion/reference_completion.rs index ac6ef1d4a..1bf210685 100644 --- a/crates/ra_analysis/src/completion/reference_completion.rs +++ b/crates/ra_analysis/src/completion/reference_completion.rs | |||
@@ -11,7 +11,7 @@ use crate::{ | |||
11 | db::RootDatabase, | 11 | db::RootDatabase, |
12 | completion::CompletionItem, | 12 | completion::CompletionItem, |
13 | hir::{ | 13 | hir::{ |
14 | module::{ModuleDescriptor}, | 14 | ModuleDescriptor, |
15 | function::FnScopes, | 15 | function::FnScopes, |
16 | Def, | 16 | Def, |
17 | Path, | 17 | Path, |
diff --git a/crates/ra_analysis/src/hir/mod.rs b/crates/ra_analysis/src/hir/mod.rs index dc52fa4ef..2035c2d23 100644 --- a/crates/ra_analysis/src/hir/mod.rs +++ b/crates/ra_analysis/src/hir/mod.rs | |||
@@ -6,7 +6,7 @@ | |||
6 | //! applied. So, there relation between syntax and HIR is many-to-one. | 6 | //! applied. So, there relation between syntax and HIR is many-to-one. |
7 | 7 | ||
8 | pub(crate) mod function; | 8 | pub(crate) mod function; |
9 | pub(crate) mod module; | 9 | mod module; |
10 | pub(crate) mod db; | 10 | pub(crate) mod db; |
11 | mod path; | 11 | mod path; |
12 | mod query_definitions; | 12 | mod query_definitions; |
@@ -26,7 +26,7 @@ use crate::{ | |||
26 | 26 | ||
27 | pub(crate) use self::{ | 27 | pub(crate) use self::{ |
28 | path::{Path, PathKind}, | 28 | path::{Path, PathKind}, |
29 | module::{ModuleDescriptor, nameres::FileItemId}, | 29 | module::{ModuleDescriptor, ModuleId, Problem, nameres::FileItemId}, |
30 | function::FunctionDescriptor, | 30 | function::FunctionDescriptor, |
31 | }; | 31 | }; |
32 | 32 | ||
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index ad4b40c58..1b7e16ff4 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -22,7 +22,7 @@ use crate::{ | |||
22 | hir::{ | 22 | hir::{ |
23 | FunctionDescriptor, ModuleDescriptor, | 23 | FunctionDescriptor, ModuleDescriptor, |
24 | function::FnDescriptor, | 24 | function::FnDescriptor, |
25 | module::{Problem}, | 25 | Problem, |
26 | DeclarationDescriptor, | 26 | DeclarationDescriptor, |
27 | }, | 27 | }, |
28 | input::{FilesDatabase, SourceRoot, SourceRootId, WORKSPACE}, | 28 | input::{FilesDatabase, SourceRoot, SourceRootId, WORKSPACE}, |
diff --git a/crates/ra_analysis/src/loc2id.rs b/crates/ra_analysis/src/loc2id.rs index 40da83665..8af7b642b 100644 --- a/crates/ra_analysis/src/loc2id.rs +++ b/crates/ra_analysis/src/loc2id.rs | |||
@@ -9,8 +9,7 @@ use rustc_hash::FxHashMap; | |||
9 | 9 | ||
10 | use crate::{ | 10 | use crate::{ |
11 | FileId, | 11 | FileId, |
12 | hir::FileItemId, | 12 | hir::{FileItemId, ModuleId}, |
13 | hir::module::ModuleId, | ||
14 | syntax_ptr::SyntaxPtr, | 13 | syntax_ptr::SyntaxPtr, |
15 | input::SourceRootId, | 14 | input::SourceRootId, |
16 | }; | 15 | }; |