mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Move traits to the new loc
This commit is contained in:
parent
7b0644d81e
commit
82e9b24558
16 changed files with 70 additions and 35 deletions
|
@ -86,7 +86,7 @@ impl GenericParams {
|
|||
src.file_id
|
||||
}
|
||||
GenericDefId::TraitId(it) => {
|
||||
let src = it.source(db);
|
||||
let src = it.lookup(db).source(db);
|
||||
|
||||
// traits get the Self type as an implicit first type parameter
|
||||
let self_param_id =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue