mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Migrate trait & type to new ids
This commit is contained in:
parent
00ba70a095
commit
0f2f3a21e7
13 changed files with 104 additions and 186 deletions
|
@ -40,12 +40,7 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
|
|||
.add_to(acc)
|
||||
});
|
||||
}
|
||||
hir::ModuleDef::Function(_)
|
||||
| hir::ModuleDef::Struct(_)
|
||||
| hir::ModuleDef::Def(_)
|
||||
| hir::ModuleDef::Const(_)
|
||||
| hir::ModuleDef::Static(_)
|
||||
| hir::ModuleDef::EnumVariant(_) => return,
|
||||
_ => return,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue