mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +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
|
@ -147,7 +147,11 @@ impl Module {
|
|||
None => PerNs::none(),
|
||||
}
|
||||
}
|
||||
ModuleDef::Function(_) | ModuleDef::Struct(_) | ModuleDef::EnumVariant(_) => {
|
||||
ModuleDef::Function(_)
|
||||
| ModuleDef::Struct(_)
|
||||
| ModuleDef::Const(_)
|
||||
| ModuleDef::Static(_)
|
||||
| ModuleDef::EnumVariant(_) => {
|
||||
// could be an inherent method call in UFCS form
|
||||
// (`Struct::method`), or some other kind of associated
|
||||
// item... Which we currently don't handle (TODO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue