diff options
Diffstat (limited to 'crates/ra_hir/src/resolve.rs')
-rw-r--r-- | crates/ra_hir/src/resolve.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/resolve.rs b/crates/ra_hir/src/resolve.rs index 0f6ee7f47..d6956f45e 100644 --- a/crates/ra_hir/src/resolve.rs +++ b/crates/ra_hir/src/resolve.rs | |||
@@ -148,8 +148,8 @@ impl Resolver { | |||
148 | PathResult::from_resolution(self.resolve_name(db, &Name::self_param())) | 148 | PathResult::from_resolution(self.resolve_name(db, &Name::self_param())) |
149 | } else { | 149 | } else { |
150 | let (item_map, module) = match self.module() { | 150 | let (item_map, module) = match self.module() { |
151 | Some(m) => m, | 151 | Some(it) => it, |
152 | _ => return PathResult::empty(), | 152 | None => return PathResult::empty(), |
153 | }; | 153 | }; |
154 | let (module_res, segment_index) = item_map.resolve_path(db, module, path); | 154 | let (module_res, segment_index) = item_map.resolve_path(db, module, path); |
155 | 155 | ||