@@ -34,7 +34,7 @@ use std::ops::Index;
34
34
/// variables have been rewritten to "canonical vars". These are
35
35
/// numbered starting from 0 in order of first appearance.
36
36
#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , TyDecodable , TyEncodable ) ]
37
- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
37
+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
38
38
pub struct Canonical < ' tcx , V > {
39
39
pub value : V ,
40
40
pub max_universe : ty:: UniverseIndex ,
@@ -72,7 +72,7 @@ impl<'tcx> ty::TypeFoldable<TyCtxt<'tcx>> for CanonicalVarInfos<'tcx> {
72
72
/// variables. You will need to supply it later to instantiate the
73
73
/// canonicalized query response.
74
74
#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , TyDecodable , TyEncodable ) ]
75
- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
75
+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
76
76
pub struct CanonicalVarValues < ' tcx > {
77
77
pub var_values : ty:: GenericArgsRef < ' tcx > ,
78
78
}
@@ -311,7 +311,7 @@ pub enum CanonicalTyVarKind {
311
311
/// After we execute a query with a canonicalized key, we get back a
312
312
/// `Canonical<QueryResponse<..>>`. You can use
313
313
/// `instantiate_query_result` to access the data in this result.
314
- #[ derive( Clone , Debug , HashStable , TypeFoldable , TypeVisitable , Lift ) ]
314
+ #[ derive( Clone , Debug , HashStable , TypeFoldable , TypeVisitable ) ]
315
315
pub struct QueryResponse < ' tcx , R > {
316
316
pub var_values : CanonicalVarValues < ' tcx > ,
317
317
pub region_constraints : QueryRegionConstraints < ' tcx > ,
@@ -326,7 +326,7 @@ pub struct QueryResponse<'tcx, R> {
326
326
}
327
327
328
328
#[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
329
- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
329
+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
330
330
pub struct QueryRegionConstraints < ' tcx > {
331
331
pub outlives : Vec < QueryOutlivesConstraint < ' tcx > > ,
332
332
pub member_constraints : Vec < MemberConstraint < ' tcx > > ,
@@ -432,7 +432,7 @@ impl<'tcx, V> Canonical<'tcx, V> {
432
432
pub type QueryOutlivesConstraint < ' tcx > =
433
433
( ty:: OutlivesPredicate < GenericArg < ' tcx > , Region < ' tcx > > , ConstraintCategory < ' tcx > ) ;
434
434
435
- TrivialTypeTraversalAndLiftImpls ! {
435
+ TrivialTypeTraversalImpls ! {
436
436
crate :: infer:: canonical:: Certainty ,
437
437
crate :: infer:: canonical:: CanonicalTyVarKind ,
438
438
}
0 commit comments