mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
move consts&statics to new id
This commit is contained in:
parent
f588535273
commit
1db2cbcb8b
8 changed files with 86 additions and 47 deletions
|
@ -43,6 +43,8 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
|
|||
hir::ModuleDef::Function(_)
|
||||
| hir::ModuleDef::Struct(_)
|
||||
| hir::ModuleDef::Def(_)
|
||||
| hir::ModuleDef::Const(_)
|
||||
| hir::ModuleDef::Static(_)
|
||||
| hir::ModuleDef::EnumVariant(_) => return,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue