move consts&statics to new id
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user