@@ -82,7 +82,7 @@ pub struct NllTypeRelating<'me, 'bccx, 'tcx> {
8282 /// - Bivariant means that it doesn't matter.
8383 ambient_variance : ty:: Variance ,
8484
85- ambient_variance_info : ty:: VarianceDiagInfo < ' tcx > ,
85+ ambient_variance_info : ty:: VarianceDiagInfo < TyCtxt < ' tcx > > ,
8686}
8787
8888impl < ' me , ' bccx , ' tcx > NllTypeRelating < ' me , ' bccx , ' tcx > {
@@ -296,7 +296,7 @@ impl<'me, 'bccx, 'tcx> NllTypeRelating<'me, 'bccx, 'tcx> {
296296 & mut self ,
297297 sup : ty:: Region < ' tcx > ,
298298 sub : ty:: Region < ' tcx > ,
299- info : ty:: VarianceDiagInfo < ' tcx > ,
299+ info : ty:: VarianceDiagInfo < TyCtxt < ' tcx > > ,
300300 ) {
301301 let sub = self . type_checker . borrowck_context . universal_regions . to_region_vid ( sub) ;
302302 let sup = self . type_checker . borrowck_context . universal_regions . to_region_vid ( sup) ;
@@ -327,7 +327,7 @@ impl<'bccx, 'tcx> TypeRelation<'tcx> for NllTypeRelating<'_, 'bccx, 'tcx> {
327327 fn relate_with_variance < T : Relate < ' tcx > > (
328328 & mut self ,
329329 variance : ty:: Variance ,
330- info : ty:: VarianceDiagInfo < ' tcx > ,
330+ info : ty:: VarianceDiagInfo < TyCtxt < ' tcx > > ,
331331 a : T ,
332332 b : T ,
333333 ) -> RelateResult < ' tcx , T > {
0 commit comments