@@ -103,8 +103,7 @@ pub struct CtxtInterners<'tcx> {
103103 substs : InternedSet < ' tcx , InternalSubsts < ' tcx > > ,
104104 canonical_var_infos : InternedSet < ' tcx , List < CanonicalVarInfo < ' tcx > > > ,
105105 region : InternedSet < ' tcx , RegionKind > ,
106- poly_existential_predicates :
107- InternedSet < ' tcx , List < ty:: Binder < ' tcx , ExistentialPredicate < ' tcx > > > > ,
106+ poly_existential_predicates : InternedSet < ' tcx , List < ExistentialPredicate < ' tcx > > > ,
108107 predicate : InternedSet < ' tcx , PredicateInner < ' tcx > > ,
109108 predicates : InternedSet < ' tcx , List < Predicate < ' tcx > > > ,
110109 projs : InternedSet < ' tcx , List < ProjectionKind > > ,
@@ -1672,7 +1671,7 @@ nop_lift! {const_allocation; &'a Allocation => &'tcx Allocation}
16721671nop_lift ! { predicate; & ' a PredicateInner <' a> => & ' tcx PredicateInner <' tcx>}
16731672
16741673nop_list_lift ! { type_list; Ty <' a> => Ty <' tcx>}
1675- nop_list_lift ! { poly_existential_predicates; ty :: Binder < ' a , ExistentialPredicate <' a>> => ty :: Binder < ' tcx , ExistentialPredicate <' tcx> >}
1674+ nop_list_lift ! { poly_existential_predicates; ExistentialPredicate <' a> => ExistentialPredicate <' tcx>}
16761675nop_list_lift ! { predicates; Predicate <' a> => Predicate <' tcx>}
16771676nop_list_lift ! { canonical_var_infos; CanonicalVarInfo <' a> => CanonicalVarInfo <' tcx>}
16781677nop_list_lift ! { projs; ProjectionKind => ProjectionKind }
@@ -2109,7 +2108,7 @@ slice_interners!(
21092108 substs: _intern_substs( GenericArg <' tcx>) ,
21102109 canonical_var_infos: _intern_canonical_var_infos( CanonicalVarInfo <' tcx>) ,
21112110 poly_existential_predicates:
2112- _intern_poly_existential_predicates( ty:: Binder < ' tcx , ExistentialPredicate <' tcx> >) ,
2111+ _intern_poly_existential_predicates( ty:: ExistentialPredicate <' tcx>) ,
21132112 predicates: _intern_predicates( Predicate <' tcx>) ,
21142113 projs: _intern_projs( ProjectionKind ) ,
21152114 place_elems: _intern_place_elems( PlaceElem <' tcx>) ,
@@ -2372,7 +2371,7 @@ impl<'tcx> TyCtxt<'tcx> {
23722371 #[ inline]
23732372 pub fn mk_dynamic (
23742373 self ,
2375- obj : & ' tcx List < ty :: Binder < ' tcx , ExistentialPredicate < ' tcx > > > ,
2374+ obj : & ' tcx List < ExistentialPredicate < ' tcx > > ,
23762375 reg : ty:: Region < ' tcx > ,
23772376 ) -> Ty < ' tcx > {
23782377 self . mk_ty ( Dynamic ( obj, reg) )
@@ -2504,8 +2503,8 @@ impl<'tcx> TyCtxt<'tcx> {
25042503
25052504 pub fn intern_poly_existential_predicates (
25062505 self ,
2507- eps : & [ ty:: Binder < ' tcx , ExistentialPredicate < ' tcx > > ] ,
2508- ) -> & ' tcx List < ty :: Binder < ' tcx , ExistentialPredicate < ' tcx > > > {
2506+ eps : & [ ty:: ExistentialPredicate < ' tcx > ] ,
2507+ ) -> & ' tcx List < ExistentialPredicate < ' tcx > > {
25092508 assert ! ( !eps. is_empty( ) ) ;
25102509 assert ! (
25112510 eps. array_windows( )
@@ -2577,10 +2576,7 @@ impl<'tcx> TyCtxt<'tcx> {
25772576 }
25782577
25792578 pub fn mk_poly_existential_predicates <
2580- I : InternAs <
2581- [ ty:: Binder < ' tcx , ExistentialPredicate < ' tcx > > ] ,
2582- & ' tcx List < ty:: Binder < ' tcx , ExistentialPredicate < ' tcx > > > ,
2583- > ,
2579+ I : InternAs < [ ExistentialPredicate < ' tcx > ] , & ' tcx List < ExistentialPredicate < ' tcx > > > ,
25842580 > (
25852581 self ,
25862582 iter : I ,
0 commit comments