@@ -157,7 +157,7 @@ where
157157
158158 fn create_scope (
159159 & mut self ,
160- value : ty:: Binder < impl Relate < ' tcx > > ,
160+ value : ty:: Binder < ' tcx , impl Relate < ' tcx > > ,
161161 universally_quantified : UniversallyQuantified ,
162162 ) -> BoundRegionScope < ' tcx > {
163163 let mut scope = BoundRegionScope :: default ( ) ;
@@ -608,9 +608,9 @@ where
608608
609609 fn binders < T > (
610610 & mut self ,
611- a : ty:: Binder < T > ,
612- b : ty:: Binder < T > ,
613- ) -> RelateResult < ' tcx , ty:: Binder < T > >
611+ a : ty:: Binder < ' tcx , T > ,
612+ b : ty:: Binder < ' tcx , T > ,
613+ ) -> RelateResult < ' tcx , ty:: Binder < ' tcx , T > >
614614 where
615615 T : Relate < ' tcx > ,
616616 {
@@ -744,7 +744,7 @@ struct ScopeInstantiator<'me, 'tcx> {
744744impl < ' me , ' tcx > TypeVisitor < ' tcx > for ScopeInstantiator < ' me , ' tcx > {
745745 fn visit_binder < T : TypeFoldable < ' tcx > > (
746746 & mut self ,
747- t : & ty:: Binder < T > ,
747+ t : & ty:: Binder < ' tcx , T > ,
748748 ) -> ControlFlow < Self :: BreakTy > {
749749 self . target_index . shift_in ( 1 ) ;
750750 t. super_visit_with ( self ) ;
@@ -997,9 +997,9 @@ where
997997
998998 fn binders < T > (
999999 & mut self ,
1000- a : ty:: Binder < T > ,
1001- _: ty:: Binder < T > ,
1002- ) -> RelateResult < ' tcx , ty:: Binder < T > >
1000+ a : ty:: Binder < ' tcx , T > ,
1001+ _: ty:: Binder < ' tcx , T > ,
1002+ ) -> RelateResult < ' tcx , ty:: Binder < ' tcx , T > >
10031003 where
10041004 T : Relate < ' tcx > ,
10051005 {
0 commit comments