Move traits to the new loc

This commit is contained in:
Aleksey Kladov 2019-12-12 14:34:03 +01:00
parent 7b0644d81e
commit 82e9b24558
16 changed files with 70 additions and 35 deletions

View file

@ -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 =