@@ -162,7 +162,7 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
162162 type BoundRegion = ty:: BoundRegion ;
163163 type PlaceholderRegion = ty:: PlaceholderRegion ;
164164
165- type RegionAssumptions = & ' tcx ty:: List < ty:: OutlivesPredicate < ' tcx , ty :: GenericArg < ' tcx > > > ;
165+ type RegionAssumptions = & ' tcx ty:: List < ty:: ArgOutlivesPredicate < ' tcx > > ;
166166
167167 type ParamEnv = ty:: ParamEnv < ' tcx > ;
168168 type Predicate = Predicate < ' tcx > ;
@@ -876,7 +876,7 @@ pub struct CtxtInterners<'tcx> {
876876 offset_of : InternedSet < ' tcx , List < ( VariantIdx , FieldIdx ) > > ,
877877 valtree : InternedSet < ' tcx , ty:: ValTreeKind < ' tcx > > ,
878878 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 > > > ,
880880}
881881
882882impl < ' tcx > CtxtInterners < ' tcx > {
@@ -2696,7 +2696,7 @@ slice_interners!(
26962696 captures: intern_captures( & ' tcx ty:: CapturedPlace <' tcx>) ,
26972697 offset_of: pub mk_offset_of( ( VariantIdx , FieldIdx ) ) ,
26982698 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>) ,
27002700) ;
27012701
27022702impl < ' tcx > TyCtxt < ' tcx > {
@@ -3116,8 +3116,8 @@ impl<'tcx> TyCtxt<'tcx> {
31163116 where
31173117 I : Iterator < Item = T > ,
31183118 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 > > ,
31213121 > ,
31223122 {
31233123 T :: collect_and_apply ( iter, |xs| self . mk_outlives ( xs) )
0 commit comments