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

@ -93,7 +93,7 @@ impl HasSource for Static {
impl HasSource for Trait {
type Ast = ast::TraitDef;
fn source(self, db: &impl DefDatabase) -> InFile<ast::TraitDef> {
self.id.source(db)
self.id.lookup(db).source(db)
}
}
impl HasSource for TypeAlias {