diff options
author | Aleksey Kladov <[email protected]> | 2019-03-16 15:57:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-03-17 09:53:22 +0000 |
commit | ee3cf6172b29a1dc0973800b5a4f97afa5eefd90 (patch) | |
tree | ff38fa199e0a4d30264107650074c8b210876cfa /crates/ra_hir/src/code_model_impl | |
parent | c51a6a7bdddf885cb833889a4550150d839eefdc (diff) |
rename ModuleId -> CrateModuleId
Diffstat (limited to 'crates/ra_hir/src/code_model_impl')
-rw-r--r-- | crates/ra_hir/src/code_model_impl/module.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs index 9f4448475..f7d15c55e 100644 --- a/crates/ra_hir/src/code_model_impl/module.rs +++ b/crates/ra_hir/src/code_model_impl/module.rs | |||
@@ -3,7 +3,7 @@ use ra_syntax::{ast, SyntaxNode, TreeArc, AstNode}; | |||
3 | 3 | ||
4 | use crate::{ | 4 | use crate::{ |
5 | Module, ModuleSource, Problem, Name, | 5 | Module, ModuleSource, Problem, Name, |
6 | nameres::{ModuleId, ImportId}, | 6 | nameres::{CrateModuleId, ImportId}, |
7 | HirDatabase, PersistentHirDatabase, | 7 | HirDatabase, PersistentHirDatabase, |
8 | HirFileId, SourceItemId, | 8 | HirFileId, SourceItemId, |
9 | }; | 9 | }; |
@@ -31,7 +31,7 @@ impl ModuleSource { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | impl Module { | 33 | impl Module { |
34 | fn with_module_id(&self, module_id: ModuleId) -> Module { | 34 | fn with_module_id(&self, module_id: CrateModuleId) -> Module { |
35 | Module { module_id, krate: self.krate } | 35 | Module { module_id, krate: self.krate } |
36 | } | 36 | } |
37 | 37 | ||