@@ -58,8 +58,8 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
58
58
}
59
59
}
60
60
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 > ,
63
63
64
64
/// Where (and why) is this relation taking place?
65
65
locations : Locations ,
@@ -82,9 +82,9 @@ struct NllTypeRelating<'me, 'bccx, 'tcx> {
82
82
ambient_variance_info : ty:: VarianceDiagInfo < TyCtxt < ' tcx > > ,
83
83
}
84
84
85
- impl < ' me , ' bccx , ' tcx > NllTypeRelating < ' me , ' bccx , ' tcx > {
85
+ impl < ' a , ' b , ' tcx > NllTypeRelating < ' a , ' b , ' tcx > {
86
86
fn new (
87
- type_checker : & ' me mut TypeChecker < ' bccx , ' tcx > ,
87
+ type_checker : & ' a mut TypeChecker < ' b , ' tcx > ,
88
88
locations : Locations ,
89
89
category : ConstraintCategory < ' tcx > ,
90
90
universe_info : UniverseInfo < ' tcx > ,
@@ -309,7 +309,7 @@ impl<'me, 'bccx, 'tcx> NllTypeRelating<'me, 'bccx, 'tcx> {
309
309
}
310
310
}
311
311
312
- impl < ' bccx , ' tcx > TypeRelation < TyCtxt < ' tcx > > for NllTypeRelating < ' _ , ' bccx , ' tcx > {
312
+ impl < ' b , ' tcx > TypeRelation < TyCtxt < ' tcx > > for NllTypeRelating < ' _ , ' b , ' tcx > {
313
313
fn cx ( & self ) -> TyCtxt < ' tcx > {
314
314
self . type_checker . infcx . tcx
315
315
}
@@ -520,7 +520,7 @@ impl<'bccx, 'tcx> TypeRelation<TyCtxt<'tcx>> for NllTypeRelating<'_, 'bccx, 'tcx
520
520
}
521
521
}
522
522
523
- impl < ' bccx , ' tcx > PredicateEmittingRelation < InferCtxt < ' tcx > > for NllTypeRelating < ' _ , ' bccx , ' tcx > {
523
+ impl < ' b , ' tcx > PredicateEmittingRelation < InferCtxt < ' tcx > > for NllTypeRelating < ' _ , ' b , ' tcx > {
524
524
fn span ( & self ) -> Span {
525
525
self . locations . span ( self . type_checker . body )
526
526
}
0 commit comments