diff options
author | Aleksey Kladov <[email protected]> | 2019-01-18 13:56:02 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-19 12:37:25 +0000 |
commit | 63f7dadc111b22301ba7df588d5c66a658d0a6da (patch) | |
tree | 01def0f3d562a2b3a112c6c5f9ea2a26d935abae /crates/ra_hir/src/code_model_impl/module.rs | |
parent | c0aeb5204c010a11db2015113a7858b517415de1 (diff) |
rename LoweredImport -> ImportId
Diffstat (limited to 'crates/ra_hir/src/code_model_impl/module.rs')
-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 f110548c6..e5394d440 100644 --- a/crates/ra_hir/src/code_model_impl/module.rs +++ b/crates/ra_hir/src/code_model_impl/module.rs | |||
@@ -5,7 +5,7 @@ use crate::{ | |||
5 | Module, ModuleSource, Problem, | 5 | Module, ModuleSource, Problem, |
6 | Crate, DefId, DefLoc, DefKind, Name, Path, PathKind, PerNs, Def, | 6 | Crate, DefId, DefLoc, DefKind, Name, Path, PathKind, PerNs, Def, |
7 | module_tree::ModuleId, | 7 | module_tree::ModuleId, |
8 | nameres::{ModuleScope, lower::LoweredImport}, | 8 | nameres::{ModuleScope, lower::ImportId}, |
9 | db::HirDatabase, | 9 | db::HirDatabase, |
10 | }; | 10 | }; |
11 | 11 | ||
@@ -69,7 +69,7 @@ impl Module { | |||
69 | pub(crate) fn import_source_impl( | 69 | pub(crate) fn import_source_impl( |
70 | &self, | 70 | &self, |
71 | db: &impl HirDatabase, | 71 | db: &impl HirDatabase, |
72 | import: LoweredImport, | 72 | import: ImportId, |
73 | ) -> TreeArc<ast::PathSegment> { | 73 | ) -> TreeArc<ast::PathSegment> { |
74 | let loc = self.def_id.loc(db); | 74 | let loc = self.def_id.loc(db); |
75 | let source_map = db.lower_module_source_map(loc.source_root_id, loc.module_id); | 75 | let source_map = db.lower_module_source_map(loc.source_root_id, loc.module_id); |