@@ -407,7 +407,7 @@ trait VidValuePair<'tcx>: Debug {
407
407
/// Extract the scopes that apply to whichever side of the tuple
408
408
/// the vid was found on. See the comment where this is called
409
409
/// for more details on why we want them.
410
- fn vid_scopes < D : TypeRelatingDelegate < ' tcx > > (
410
+ fn vid_scopes < ' r , D : TypeRelatingDelegate < ' tcx > > (
411
411
& self ,
412
412
relate : & ' r mut TypeRelating < ' _ , ' tcx , D > ,
413
413
) -> & ' r mut Vec < BoundRegionScope < ' tcx > > ;
@@ -424,7 +424,7 @@ trait VidValuePair<'tcx>: Debug {
424
424
D : TypeRelatingDelegate < ' tcx > ;
425
425
}
426
426
427
- impl VidValuePair < ' tcx > for ( ty:: TyVid , Ty < ' tcx > ) {
427
+ impl < ' tcx > VidValuePair < ' tcx > for ( ty:: TyVid , Ty < ' tcx > ) {
428
428
fn vid ( & self ) -> ty:: TyVid {
429
429
self . 0
430
430
}
@@ -433,7 +433,7 @@ impl VidValuePair<'tcx> for (ty::TyVid, Ty<'tcx>) {
433
433
self . 1
434
434
}
435
435
436
- fn vid_scopes < D > (
436
+ fn vid_scopes < ' r , D > (
437
437
& self ,
438
438
relate : & ' r mut TypeRelating < ' _ , ' tcx , D > ,
439
439
) -> & ' r mut Vec < BoundRegionScope < ' tcx > >
@@ -456,7 +456,7 @@ impl VidValuePair<'tcx> for (ty::TyVid, Ty<'tcx>) {
456
456
}
457
457
458
458
// In this case, the "vid" is the "b" type.
459
- impl VidValuePair < ' tcx > for ( Ty < ' tcx > , ty:: TyVid ) {
459
+ impl < ' tcx > VidValuePair < ' tcx > for ( Ty < ' tcx > , ty:: TyVid ) {
460
460
fn vid ( & self ) -> ty:: TyVid {
461
461
self . 1
462
462
}
@@ -465,7 +465,7 @@ impl VidValuePair<'tcx> for (Ty<'tcx>, ty::TyVid) {
465
465
self . 0
466
466
}
467
467
468
- fn vid_scopes < D > (
468
+ fn vid_scopes < ' r , D > (
469
469
& self ,
470
470
relate : & ' r mut TypeRelating < ' _ , ' tcx , D > ,
471
471
) -> & ' r mut Vec < BoundRegionScope < ' tcx > >
@@ -487,7 +487,7 @@ impl VidValuePair<'tcx> for (Ty<'tcx>, ty::TyVid) {
487
487
}
488
488
}
489
489
490
- impl < D > TypeRelation < ' tcx > for TypeRelating < ' me , ' tcx , D >
490
+ impl < ' tcx , D > TypeRelation < ' tcx > for TypeRelating < ' _ , ' tcx , D >
491
491
where
492
492
D : TypeRelatingDelegate < ' tcx > ,
493
493
{
@@ -841,7 +841,7 @@ where
841
841
universe : ty:: UniverseIndex ,
842
842
}
843
843
844
- impl < D > TypeRelation < ' tcx > for TypeGeneralizer < ' me , ' tcx , D >
844
+ impl < ' tcx , D > TypeRelation < ' tcx > for TypeGeneralizer < ' _ , ' tcx , D >
845
845
where
846
846
D : TypeRelatingDelegate < ' tcx > ,
847
847
{
0 commit comments