mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
add a fixme
This commit is contained in:
parent
1b783e33e9
commit
ac64967872
2 changed files with 4 additions and 2 deletions
|
@ -148,8 +148,8 @@ impl Resolver {
|
|||
PathResult::from_resolution(self.resolve_name(db, &Name::self_param()))
|
||||
} else {
|
||||
let (item_map, module) = match self.module() {
|
||||
Some(m) => m,
|
||||
_ => return PathResult::empty(),
|
||||
Some(it) => it,
|
||||
None => return PathResult::empty(),
|
||||
};
|
||||
let (module_res, segment_index) = item_map.resolve_path(db, module, path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue