@@ -34,7 +34,7 @@ use std::ops::Index;
3434/// variables have been rewritten to "canonical vars". These are
3535/// numbered starting from 0 in order of first appearance.
3636#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , TyDecodable , TyEncodable ) ]
37- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
37+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
3838pub struct Canonical < ' tcx , V > {
3939 pub value : V ,
4040 pub max_universe : ty:: UniverseIndex ,
@@ -72,7 +72,7 @@ impl<'tcx> ty::TypeFoldable<TyCtxt<'tcx>> for CanonicalVarInfos<'tcx> {
7272/// variables. You will need to supply it later to instantiate the
7373/// canonicalized query response.
7474#[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash , TyDecodable , TyEncodable ) ]
75- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
75+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
7676pub struct CanonicalVarValues < ' tcx > {
7777 pub var_values : ty:: GenericArgsRef < ' tcx > ,
7878}
@@ -311,7 +311,7 @@ pub enum CanonicalTyVarKind {
311311/// After we execute a query with a canonicalized key, we get back a
312312/// `Canonical<QueryResponse<..>>`. You can use
313313/// `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 ) ]
315315pub struct QueryResponse < ' tcx , R > {
316316 pub var_values : CanonicalVarValues < ' tcx > ,
317317 pub region_constraints : QueryRegionConstraints < ' tcx > ,
@@ -326,7 +326,7 @@ pub struct QueryResponse<'tcx, R> {
326326}
327327
328328#[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
329- #[ derive( HashStable , TypeFoldable , TypeVisitable , Lift ) ]
329+ #[ derive( HashStable , TypeFoldable , TypeVisitable ) ]
330330pub struct QueryRegionConstraints < ' tcx > {
331331 pub outlives : Vec < QueryOutlivesConstraint < ' tcx > > ,
332332 pub member_constraints : Vec < MemberConstraint < ' tcx > > ,
@@ -432,7 +432,7 @@ impl<'tcx, V> Canonical<'tcx, V> {
432432pub type QueryOutlivesConstraint < ' tcx > =
433433 ( ty:: OutlivesPredicate < GenericArg < ' tcx > , Region < ' tcx > > , ConstraintCategory < ' tcx > ) ;
434434
435- TrivialTypeTraversalAndLiftImpls ! {
435+ TrivialTypeTraversalImpls ! {
436436 crate :: infer:: canonical:: Certainty ,
437437 crate :: infer:: canonical:: CanonicalTyVarKind ,
438438}
0 commit comments