@@ -86,7 +86,7 @@ pub enum Reveal {
86
86
///
87
87
/// We do not want to intern this as there are a lot of obligation causes which
88
88
/// only live for a short period of time.
89
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
89
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
90
90
#[ derive( TypeVisitable , TypeFoldable ) ]
91
91
pub struct ObligationCause < ' tcx > {
92
92
pub span : Span ,
@@ -194,15 +194,15 @@ impl<'tcx> ObligationCause<'tcx> {
194
194
}
195
195
}
196
196
197
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
197
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
198
198
#[ derive( TypeVisitable , TypeFoldable ) ]
199
199
pub struct UnifyReceiverContext < ' tcx > {
200
200
pub assoc_item : ty:: AssocItem ,
201
201
pub param_env : ty:: ParamEnv < ' tcx > ,
202
202
pub args : GenericArgsRef < ' tcx > ,
203
203
}
204
204
205
- #[ derive( Clone , PartialEq , Eq , Lift , Default , HashStable ) ]
205
+ #[ derive( Clone , PartialEq , Eq , Default , HashStable ) ]
206
206
#[ derive( TypeVisitable , TypeFoldable , TyEncodable , TyDecodable ) ]
207
207
pub struct InternedObligationCauseCode < ' tcx > {
208
208
/// `None` for `ObligationCauseCode::MiscObligation` (a common case, occurs ~60% of
@@ -238,7 +238,7 @@ impl<'tcx> std::ops::Deref for InternedObligationCauseCode<'tcx> {
238
238
}
239
239
}
240
240
241
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
241
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
242
242
#[ derive( TypeVisitable , TypeFoldable ) ]
243
243
pub enum ObligationCauseCode < ' tcx > {
244
244
/// Not well classified or should be obvious from the span.
@@ -470,7 +470,7 @@ pub enum WellFormedLoc {
470
470
} ,
471
471
}
472
472
473
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
473
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
474
474
#[ derive( TypeVisitable , TypeFoldable ) ]
475
475
pub struct ImplDerivedObligationCause < ' tcx > {
476
476
pub derived : DerivedObligationCause < ' tcx > ,
@@ -531,7 +531,7 @@ impl<'tcx> ty::Lift<'tcx> for StatementAsExpression {
531
531
}
532
532
}
533
533
534
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
534
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
535
535
#[ derive( TypeVisitable , TypeFoldable ) ]
536
536
pub struct MatchExpressionArmCause < ' tcx > {
537
537
pub arm_block_id : Option < hir:: HirId > ,
@@ -547,7 +547,7 @@ pub struct MatchExpressionArmCause<'tcx> {
547
547
}
548
548
549
549
#[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
550
- #[ derive( Lift , TypeFoldable , TypeVisitable , HashStable , TyEncodable , TyDecodable ) ]
550
+ #[ derive( TypeFoldable , TypeVisitable , HashStable , TyEncodable , TyDecodable ) ]
551
551
pub struct IfExpressionCause < ' tcx > {
552
552
pub then_id : hir:: HirId ,
553
553
pub else_id : hir:: HirId ,
@@ -557,7 +557,7 @@ pub struct IfExpressionCause<'tcx> {
557
557
pub opt_suggest_box_span : Option < Span > ,
558
558
}
559
559
560
- #[ derive( Clone , Debug , PartialEq , Eq , Lift , HashStable , TyEncodable , TyDecodable ) ]
560
+ #[ derive( Clone , Debug , PartialEq , Eq , HashStable , TyEncodable , TyDecodable ) ]
561
561
#[ derive( TypeVisitable , TypeFoldable ) ]
562
562
pub struct DerivedObligationCause < ' tcx > {
563
563
/// The trait predicate of the parent obligation that led to the
@@ -570,7 +570,7 @@ pub struct DerivedObligationCause<'tcx> {
570
570
pub parent_code : InternedObligationCauseCode < ' tcx > ,
571
571
}
572
572
573
- #[ derive( Clone , Debug , TypeVisitable , Lift ) ]
573
+ #[ derive( Clone , Debug , TypeVisitable ) ]
574
574
pub enum SelectionError < ' tcx > {
575
575
/// The trait is not implemented.
576
576
Unimplemented ,
@@ -593,7 +593,7 @@ pub enum SelectionError<'tcx> {
593
593
OpaqueTypeAutoTraitLeakageUnknown ( DefId ) ,
594
594
}
595
595
596
- #[ derive( Clone , Debug , TypeVisitable , Lift ) ]
596
+ #[ derive( Clone , Debug , TypeVisitable ) ]
597
597
pub struct SelectionOutputTypeParameterMismatch < ' tcx > {
598
598
pub found_trait_ref : ty:: PolyTraitRef < ' tcx > ,
599
599
pub expected_trait_ref : ty:: PolyTraitRef < ' tcx > ,
@@ -638,7 +638,7 @@ pub type SelectionResult<'tcx, T> = Result<Option<T>, SelectionError<'tcx>>;
638
638
/// ### The type parameter `N`
639
639
///
640
640
/// See explanation on `ImplSourceUserDefinedData`.
641
- #[ derive( Clone , PartialEq , Eq , TyEncodable , TyDecodable , HashStable , Lift ) ]
641
+ #[ derive( Clone , PartialEq , Eq , TyEncodable , TyDecodable , HashStable ) ]
642
642
#[ derive( TypeFoldable , TypeVisitable ) ]
643
643
pub enum ImplSource < ' tcx , N > {
644
644
/// ImplSource identifying a particular impl.
@@ -704,7 +704,7 @@ impl<'tcx, N> ImplSource<'tcx, N> {
704
704
/// is `Obligation`, as one might expect. During codegen, however, this
705
705
/// is `()`, because codegen only requires a shallow resolution of an
706
706
/// impl, and nested obligations are satisfied later.
707
- #[ derive( Clone , PartialEq , Eq , TyEncodable , TyDecodable , HashStable , Lift ) ]
707
+ #[ derive( Clone , PartialEq , Eq , TyEncodable , TyDecodable , HashStable ) ]
708
708
#[ derive( TypeFoldable , TypeVisitable ) ]
709
709
pub struct ImplSourceUserDefinedData < ' tcx , N > {
710
710
pub impl_def_id : DefId ,
0 commit comments