mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
new struct id
This commit is contained in:
parent
c57a857988
commit
60a607d33f
12 changed files with 200 additions and 106 deletions
|
@ -135,7 +135,7 @@ impl Module {
|
|||
None => PerNs::none(),
|
||||
}
|
||||
}
|
||||
ModuleDef::Function(_) => PerNs::none(),
|
||||
ModuleDef::Function(_) | ModuleDef::Struct(_) => PerNs::none(),
|
||||
ModuleDef::Def(def) => {
|
||||
match def.resolve(db) {
|
||||
Def::Enum(e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue