@@ -76,11 +76,11 @@ use crate::traits::solve::{
76
76
} ;
77
77
use crate :: ty:: predicate:: ExistentialPredicateStableCmpExt as _;
78
78
use 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 ,
84
84
} ;
85
85
86
86
#[ allow( rustc:: usage_of_ty_tykind) ]
@@ -2243,21 +2243,23 @@ macro_rules! nop_list_lift {
2243
2243
} ;
2244
2244
}
2245
2245
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 }
2258
2260
2259
2261
// 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> }
2261
2263
2262
2264
macro_rules! nop_slice_lift {
2263
2265
( $ty: ty => $lifted: ty) => {
@@ -2277,11 +2279,7 @@ macro_rules! nop_slice_lift {
2277
2279
} ;
2278
2280
}
2279
2281
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> }
2285
2283
2286
2284
macro_rules! sty_debug_print {
2287
2285
( $fmt: expr, $ctxt: expr, $( $variant: ident) ,* ) => { {
0 commit comments