@@ -76,11 +76,11 @@ use crate::traits::solve::{
7676} ;
7777use crate :: ty:: predicate:: ExistentialPredicateStableCmpExt as _;
7878use crate :: ty:: {
79- self , AdtDef , AdtDefData , AdtKind , Binder , BoundConstness , Clause , Clauses , Const , GenericArg ,
80- GenericArgs , GenericArgsRef , GenericParamDefKind , ImplPolarity , List , ListWithCachedTypeInfo ,
81- ParamConst , ParamTy , Pattern , PatternKind , PolyExistentialPredicate , PolyFnSig , Predicate ,
82- PredicateKind , PredicatePolarity , Region , RegionKind , ReprOptions , TraitObjectVisitor , Ty ,
83- TyKind , TyVid , Visibility ,
79+ self , AdtDef , AdtDefData , AdtKind , Binder , Clause , Clauses , Const , GenericArg , GenericArgs ,
80+ GenericArgsRef , GenericParamDefKind , List , ListWithCachedTypeInfo , ParamConst , ParamTy ,
81+ Pattern , PatternKind , PolyExistentialPredicate , PolyFnSig , Predicate , PredicateKind ,
82+ PredicatePolarity , Region , RegionKind , ReprOptions , TraitObjectVisitor , Ty , TyKind , TyVid ,
83+ Visibility ,
8484} ;
8585
8686#[ allow( rustc:: usage_of_ty_tykind) ]
@@ -2243,21 +2243,23 @@ macro_rules! nop_list_lift {
22432243 } ;
22442244}
22452245
2246- nop_lift ! { type_; Ty <' a> => Ty <' tcx>}
2247- nop_lift ! { region; Region <' a> => Region <' tcx>}
2248- nop_lift ! { const_; Const <' a> => Const <' tcx>}
2249- nop_lift ! { pat; Pattern <' a> => Pattern <' tcx>}
2250- nop_lift ! { const_allocation; ConstAllocation <' a> => ConstAllocation <' tcx>}
2251- nop_lift ! { predicate; Predicate <' a> => Predicate <' tcx>}
2252- nop_lift ! { predicate; Clause <' a> => Clause <' tcx>}
2253- nop_lift ! { layout; Layout <' a> => Layout <' tcx>}
2254-
2255- nop_list_lift ! { type_lists; Ty <' a> => Ty <' tcx>}
2256- nop_list_lift ! { poly_existential_predicates; PolyExistentialPredicate <' a> => PolyExistentialPredicate <' tcx>}
2257- nop_list_lift ! { bound_variable_kinds; ty:: BoundVariableKind => ty:: BoundVariableKind }
2246+ nop_lift ! { type_; Ty <' a> => Ty <' tcx> }
2247+ nop_lift ! { region; Region <' a> => Region <' tcx> }
2248+ nop_lift ! { const_; Const <' a> => Const <' tcx> }
2249+ nop_lift ! { pat; Pattern <' a> => Pattern <' tcx> }
2250+ nop_lift ! { const_allocation; ConstAllocation <' a> => ConstAllocation <' tcx> }
2251+ nop_lift ! { predicate; Predicate <' a> => Predicate <' tcx> }
2252+ nop_lift ! { predicate; Clause <' a> => Clause <' tcx> }
2253+ nop_lift ! { layout; Layout <' a> => Layout <' tcx> }
2254+
2255+ nop_list_lift ! { type_lists; Ty <' a> => Ty <' tcx> }
2256+ nop_list_lift ! {
2257+ poly_existential_predicates; PolyExistentialPredicate <' a> => PolyExistentialPredicate <' tcx>
2258+ }
2259+ nop_list_lift ! { bound_variable_kinds; ty:: BoundVariableKind => ty:: BoundVariableKind }
22582260
22592261// This is the impl for `&'a GenericArgs<'a>`.
2260- nop_list_lift ! { args; GenericArg <' a> => GenericArg <' tcx>}
2262+ nop_list_lift ! { args; GenericArg <' a> => GenericArg <' tcx> }
22612263
22622264macro_rules! nop_slice_lift {
22632265 ( $ty: ty => $lifted: ty) => {
@@ -2277,11 +2279,7 @@ macro_rules! nop_slice_lift {
22772279 } ;
22782280}
22792281
2280- nop_slice_lift ! { ty:: ValTree <' a> => ty:: ValTree <' tcx>}
2281-
2282- TrivialLiftImpls ! {
2283- ImplPolarity , PredicatePolarity , Promoted , BoundConstness ,
2284- }
2282+ nop_slice_lift ! { ty:: ValTree <' a> => ty:: ValTree <' tcx> }
22852283
22862284macro_rules! sty_debug_print {
22872285 ( $fmt: expr, $ctxt: expr, $( $variant: ident) ,* ) => { {
0 commit comments