mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
remove Cancelable from navigation target
This commit is contained in:
parent
9dd4099d93
commit
f1367e0370
11 changed files with 29 additions and 42 deletions
|
@ -148,7 +148,7 @@ impl Module {
|
|||
} else {
|
||||
return Ok(PerNs::none());
|
||||
};
|
||||
let module = match curr.resolve(db)? {
|
||||
let module = match curr.resolve(db) {
|
||||
Def::Module(it) => it,
|
||||
Def::Enum(e) => {
|
||||
if segments.len() == idx + 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue