aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_def/src/resolver.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_def/src/resolver.rs b/crates/hir_def/src/resolver.rs
index ef0b751b1..a8467c88e 100644
--- a/crates/hir_def/src/resolver.rs
+++ b/crates/hir_def/src/resolver.rs
@@ -534,7 +534,7 @@ impl ModuleItemMap {
534 ) -> Option<ResolveValueResult> { 534 ) -> Option<ResolveValueResult> {
535 let (module_def, idx) = 535 let (module_def, idx) =
536 self.crate_def_map.resolve_path(db, self.module_id, &path, BuiltinShadowMode::Other); 536 self.crate_def_map.resolve_path(db, self.module_id, &path, BuiltinShadowMode::Other);
537 return match idx { 537 match idx {
538 None => { 538 None => {
539 let value = to_value_ns(module_def)?; 539 let value = to_value_ns(module_def)?;
540 Some(ResolveValueResult::ValueNs(value)) 540 Some(ResolveValueResult::ValueNs(value))
@@ -554,7 +554,7 @@ impl ModuleItemMap {
554 }; 554 };
555 Some(ResolveValueResult::Partial(ty, idx)) 555 Some(ResolveValueResult::Partial(ty, idx))
556 } 556 }
557 }; 557 }
558 } 558 }
559 559
560 fn resolve_path_in_type_ns( 560 fn resolve_path_in_type_ns(