Rename TypeAliasDef -> TypeAlias

This commit is contained in:
Aleksey Kladov 2020-07-30 15:25:46 +02:00
parent 1142112c70
commit eb2f806344
65 changed files with 146 additions and 155 deletions

View file

@ -105,8 +105,8 @@ impl HasSource for Trait {
}
}
impl HasSource for TypeAlias {
type Ast = ast::TypeAliasDef;
fn source(self, db: &dyn HirDatabase) -> InFile<ast::TypeAliasDef> {
type Ast = ast::TypeAlias;
fn source(self, db: &dyn HirDatabase) -> InFile<ast::TypeAlias> {
self.id.lookup(db.upcast()).source(db.upcast())
}
}