Rename ItemImplKind::Type to ItemImplKind::TyAlias

This commit is contained in:
varkor
2019-08-02 20:59:07 +01:00
parent 8aa45c65d8
commit 63659ca9f6
28 changed files with 36 additions and 35 deletions

View File

@@ -529,7 +529,8 @@ impl<'a> TraitDef<'a> {
defaultness: ast::Defaultness::Final,
attrs: Vec::new(),
generics: Generics::default(),
node: ast::ImplItemKind::Type(type_def.to_ty(cx, self.span, type_ident, generics)),
node: ast::ImplItemKind::TyAlias(
type_def.to_ty(cx, self.span, type_ident, generics)),
tokens: None,
}
});