aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_impl/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/code_model_impl/module.rs')
-rw-r--r--crates/ra_hir/src/code_model_impl/module.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs
index 2d3058afd..437f96942 100644
--- a/crates/ra_hir/src/code_model_impl/module.rs
+++ b/crates/ra_hir/src/code_model_impl/module.rs
@@ -47,7 +47,7 @@ impl Module {
47 db: &impl HirDatabase, 47 db: &impl HirDatabase,
48 import: ImportId, 48 import: ImportId,
49 ) -> TreeArc<ast::PathSegment> { 49 ) -> TreeArc<ast::PathSegment> {
50 let source_map = db.lower_module_source_map(*self); 50 let (_, source_map) = db.lower_module_with_source_map(*self);
51 let (_, source) = self.definition_source(db); 51 let (_, source) = self.definition_source(db);
52 source_map.get(&source, import) 52 source_map.get(&source, import)
53 } 53 }