mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Move structs to new loc
This commit is contained in:
parent
63c192b34a
commit
f135a8ea55
14 changed files with 66 additions and 30 deletions
|
@ -71,7 +71,7 @@ impl GenericParams {
|
|||
src.file_id
|
||||
}
|
||||
GenericDefId::AdtId(AdtId::StructId(it)) => {
|
||||
let src = it.source(db);
|
||||
let src = it.lookup(db).source(db);
|
||||
generics.fill(&mut sm, &src.value);
|
||||
src.file_id
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue