@@ -3914,9 +3914,9 @@ impl<'a> LoweringContext<'a> {
3914
3914
3915
3915
( generics, hir:: ImplItemKind :: Method ( sig, body_id) )
3916
3916
}
3917
- ImplItemKind :: Type ( ref ty) => (
3917
+ ImplItemKind :: TyAlias ( ref ty) => (
3918
3918
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 ( ) ) ) ,
3920
3920
) ,
3921
3921
ImplItemKind :: OpaqueTy ( ref bounds) => (
3922
3922
self . lower_generics ( & i. generics , ImplTraitContext :: disallowed ( ) ) ,
@@ -3950,7 +3950,7 @@ impl<'a> LoweringContext<'a> {
3950
3950
defaultness : self . lower_defaultness ( i. defaultness , true /* [1] */ ) ,
3951
3951
kind : match i. node {
3952
3952
ImplItemKind :: Const ( ..) => hir:: AssocItemKind :: Const ,
3953
- ImplItemKind :: Type ( ..) => hir:: AssocItemKind :: Type ,
3953
+ ImplItemKind :: TyAlias ( ..) => hir:: AssocItemKind :: Type ,
3954
3954
ImplItemKind :: OpaqueTy ( ..) => hir:: AssocItemKind :: OpaqueTy ,
3955
3955
ImplItemKind :: Method ( ref sig, _) => hir:: AssocItemKind :: Method {
3956
3956
has_self : sig. decl . has_self ( ) ,
0 commit comments