@@ -162,7 +162,7 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
162
162
type BoundRegion = ty:: BoundRegion ;
163
163
type PlaceholderRegion = ty:: PlaceholderRegion ;
164
164
165
- type RegionAssumptions = & ' tcx ty:: List < ty:: OutlivesPredicate < ' tcx , ty :: GenericArg < ' tcx > > > ;
165
+ type RegionAssumptions = & ' tcx ty:: List < ty:: ArgOutlivesPredicate < ' tcx > > ;
166
166
167
167
type ParamEnv = ty:: ParamEnv < ' tcx > ;
168
168
type Predicate = Predicate < ' tcx > ;
@@ -876,7 +876,7 @@ pub struct CtxtInterners<'tcx> {
876
876
offset_of : InternedSet < ' tcx , List < ( VariantIdx , FieldIdx ) > > ,
877
877
valtree : InternedSet < ' tcx , ty:: ValTreeKind < ' tcx > > ,
878
878
patterns : InternedSet < ' tcx , List < ty:: Pattern < ' tcx > > > ,
879
- outlives : InternedSet < ' tcx , List < ty:: OutlivesPredicate < ' tcx , ty :: GenericArg < ' tcx > > > > ,
879
+ outlives : InternedSet < ' tcx , List < ty:: ArgOutlivesPredicate < ' tcx > > > ,
880
880
}
881
881
882
882
impl < ' tcx > CtxtInterners < ' tcx > {
@@ -2696,7 +2696,7 @@ slice_interners!(
2696
2696
captures: intern_captures( & ' tcx ty:: CapturedPlace <' tcx>) ,
2697
2697
offset_of: pub mk_offset_of( ( VariantIdx , FieldIdx ) ) ,
2698
2698
patterns: pub mk_patterns( Pattern <' tcx>) ,
2699
- outlives: pub mk_outlives( ty:: OutlivesPredicate <' tcx, ty :: GenericArg < ' tcx> >) ,
2699
+ outlives: pub mk_outlives( ty:: ArgOutlivesPredicate <' tcx>) ,
2700
2700
) ;
2701
2701
2702
2702
impl < ' tcx > TyCtxt < ' tcx > {
@@ -3116,8 +3116,8 @@ impl<'tcx> TyCtxt<'tcx> {
3116
3116
where
3117
3117
I : Iterator < Item = T > ,
3118
3118
T : CollectAndApply <
3119
- ty:: OutlivesPredicate < ' tcx , ty :: GenericArg < ' tcx > > ,
3120
- & ' tcx ty:: List < ty:: OutlivesPredicate < ' tcx , ty :: GenericArg < ' tcx > > > ,
3119
+ ty:: ArgOutlivesPredicate < ' tcx > ,
3120
+ & ' tcx ty:: List < ty:: ArgOutlivesPredicate < ' tcx > > ,
3121
3121
> ,
3122
3122
{
3123
3123
T :: collect_and_apply ( iter, |xs| self . mk_outlives ( xs) )
0 commit comments