Rename ItemKind::Ty to ItemKind::TyAlias

This commit is contained in:
varkor 2019-08-02 11:02:08 +01:00
parent 460072ebee
commit 8aa45c65d8
31 changed files with 52 additions and 52 deletions

View file

@ -255,7 +255,7 @@ pub fn walk_item<'a, V: Visitor<'a>>(visitor: &mut V, item: &'a Item) {
walk_list!(visitor, visit_foreign_item, &foreign_module.items);
}
ItemKind::GlobalAsm(ref ga) => visitor.visit_global_asm(ga),
ItemKind::Ty(ref typ, ref generics) => {
ItemKind::TyAlias(ref typ, ref generics) => {
visitor.visit_ty(typ);
visitor.visit_generics(generics)
}