File tree 2 files changed +5
-5
lines changed
compiler/rustc_borrowck/src
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -301,13 +301,13 @@ pub(super) fn dump_nll_mir<'tcx>(
301
301
302
302
#[ allow( rustc:: diagnostic_outside_of_impl) ]
303
303
#[ allow( rustc:: untranslatable_diagnostic) ]
304
- pub ( super ) fn dump_annotation < ' tcx , ' cx > (
305
- infcx : & ' cx BorrowckInferCtxt < ' tcx > ,
304
+ pub ( super ) fn dump_annotation < ' tcx , ' infcx > (
305
+ infcx : & ' infcx BorrowckInferCtxt < ' tcx > ,
306
306
body : & Body < ' tcx > ,
307
307
regioncx : & RegionInferenceContext < ' tcx > ,
308
308
closure_region_requirements : & Option < ClosureRegionRequirements < ' tcx > > ,
309
309
opaque_type_values : & FxIndexMap < LocalDefId , OpaqueHiddenType < ' tcx > > ,
310
- diags : & mut crate :: diags:: BorrowckDiags < ' cx , ' tcx > ,
310
+ diags : & mut crate :: diags:: BorrowckDiags < ' infcx , ' tcx > ,
311
311
) {
312
312
let tcx = infcx. tcx ;
313
313
let base_def_id = tcx. typeck_root_def_id ( body. source . def_id ( ) ) ;
Original file line number Diff line number Diff line change @@ -423,8 +423,8 @@ impl<'tcx> UniversalRegions<'tcx> {
423
423
}
424
424
}
425
425
426
- struct UniversalRegionsBuilder < ' cx , ' tcx > {
427
- infcx : & ' cx BorrowckInferCtxt < ' tcx > ,
426
+ struct UniversalRegionsBuilder < ' infcx , ' tcx > {
427
+ infcx : & ' infcx BorrowckInferCtxt < ' tcx > ,
428
428
mir_def : LocalDefId ,
429
429
param_env : ty:: ParamEnv < ' tcx > ,
430
430
}
You can’t perform that action at this time.
0 commit comments