mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
use Source for Trait
This commit is contained in:
parent
5e6213b516
commit
f411c2988d
7 changed files with 28 additions and 39 deletions
|
@ -79,7 +79,7 @@ impl GenericParams {
|
|||
name: Name::self_type(),
|
||||
default: None,
|
||||
});
|
||||
generics.fill(&*it.source(db).1, start + 1);
|
||||
generics.fill(&*it.source(db).ast, start + 1);
|
||||
}
|
||||
GenericDef::TypeAlias(it) => generics.fill(&*it.source(db).ast, start),
|
||||
GenericDef::ImplBlock(it) => generics.fill(&*it.source(db).1, start),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue