@@ -58,8 +58,8 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
5858 }
5959}
6060
61- struct NllTypeRelating < ' me , ' bccx , ' tcx > {
62- type_checker : & ' me mut TypeChecker < ' bccx , ' tcx > ,
61+ struct NllTypeRelating < ' a , ' b , ' tcx > {
62+ type_checker : & ' a mut TypeChecker < ' b , ' tcx > ,
6363
6464 /// Where (and why) is this relation taking place?
6565 locations : Locations ,
@@ -82,9 +82,9 @@ struct NllTypeRelating<'me, 'bccx, 'tcx> {
8282 ambient_variance_info : ty:: VarianceDiagInfo < TyCtxt < ' tcx > > ,
8383}
8484
85- impl < ' me , ' bccx , ' tcx > NllTypeRelating < ' me , ' bccx , ' tcx > {
85+ impl < ' a , ' b , ' tcx > NllTypeRelating < ' a , ' b , ' tcx > {
8686 fn new (
87- type_checker : & ' me mut TypeChecker < ' bccx , ' tcx > ,
87+ type_checker : & ' a mut TypeChecker < ' b , ' tcx > ,
8888 locations : Locations ,
8989 category : ConstraintCategory < ' tcx > ,
9090 universe_info : UniverseInfo < ' tcx > ,
@@ -309,7 +309,7 @@ impl<'me, 'bccx, 'tcx> NllTypeRelating<'me, 'bccx, 'tcx> {
309309 }
310310}
311311
312- impl < ' bccx , ' tcx > TypeRelation < TyCtxt < ' tcx > > for NllTypeRelating < ' _ , ' bccx , ' tcx > {
312+ impl < ' b , ' tcx > TypeRelation < TyCtxt < ' tcx > > for NllTypeRelating < ' _ , ' b , ' tcx > {
313313 fn cx ( & self ) -> TyCtxt < ' tcx > {
314314 self . type_checker . infcx . tcx
315315 }
@@ -520,7 +520,7 @@ impl<'bccx, 'tcx> TypeRelation<TyCtxt<'tcx>> for NllTypeRelating<'_, 'bccx, 'tcx
520520 }
521521}
522522
523- impl < ' bccx , ' tcx > PredicateEmittingRelation < InferCtxt < ' tcx > > for NllTypeRelating < ' _ , ' bccx , ' tcx > {
523+ impl < ' b , ' tcx > PredicateEmittingRelation < InferCtxt < ' tcx > > for NllTypeRelating < ' _ , ' b , ' tcx > {
524524 fn span ( & self ) -> Span {
525525 self . locations . span ( self . type_checker . body )
526526 }
0 commit comments