@@ -3914,9 +3914,9 @@ impl<'a> LoweringContext<'a> {
39143914
39153915 ( generics, hir:: ImplItemKind :: Method ( sig, body_id) )
39163916 }
3917- ImplItemKind :: Type ( ref ty) => (
3917+ ImplItemKind :: TyAlias ( ref ty) => (
39183918 self . lower_generics ( & i. generics , ImplTraitContext :: disallowed ( ) ) ,
3919- hir:: ImplItemKind :: Type ( self . lower_ty ( ty, ImplTraitContext :: disallowed ( ) ) ) ,
3919+ hir:: ImplItemKind :: TyAlias ( self . lower_ty ( ty, ImplTraitContext :: disallowed ( ) ) ) ,
39203920 ) ,
39213921 ImplItemKind :: OpaqueTy ( ref bounds) => (
39223922 self . lower_generics ( & i. generics , ImplTraitContext :: disallowed ( ) ) ,
@@ -3950,7 +3950,7 @@ impl<'a> LoweringContext<'a> {
39503950 defaultness : self . lower_defaultness ( i. defaultness , true /* [1] */ ) ,
39513951 kind : match i. node {
39523952 ImplItemKind :: Const ( ..) => hir:: AssocItemKind :: Const ,
3953- ImplItemKind :: Type ( ..) => hir:: AssocItemKind :: Type ,
3953+ ImplItemKind :: TyAlias ( ..) => hir:: AssocItemKind :: Type ,
39543954 ImplItemKind :: OpaqueTy ( ..) => hir:: AssocItemKind :: OpaqueTy ,
39553955 ImplItemKind :: Method ( ref sig, _) => hir:: AssocItemKind :: Method {
39563956 has_self : sig. decl . has_self ( ) ,
0 commit comments