Switch to the new location for impls

This commit is contained in:
Aleksey Kladov 2019-12-12 14:09:13 +01:00
parent b0739d5a26
commit 7b0644d81e
16 changed files with 69 additions and 32 deletions

View file

@ -114,7 +114,7 @@ impl HasSource for MacroDef {
impl HasSource for ImplBlock {
type Ast = ast::ImplBlock;
fn source(self, db: &impl DefDatabase) -> InFile<ast::ImplBlock> {
self.id.source(db)
self.id.lookup(db).source(db)
}
}
impl HasSource for Import {