File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
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 @@ -422,8 +422,8 @@ impl<'tcx> UniversalRegions<'tcx> {
422
422
}
423
423
}
424
424
425
- struct UniversalRegionsBuilder < ' cx , ' tcx > {
426
- infcx : & ' cx BorrowckInferCtxt < ' tcx > ,
425
+ struct UniversalRegionsBuilder < ' infcx , ' tcx > {
426
+ infcx : & ' infcx BorrowckInferCtxt < ' tcx > ,
427
427
mir_def : LocalDefId ,
428
428
param_env : ty:: ParamEnv < ' tcx > ,
429
429
}
Original file line number Diff line number Diff line change @@ -543,9 +543,9 @@ pub fn validate_types<'tcx>(
543
543
type_checker. failures
544
544
}
545
545
546
- struct TypeChecker < ' a , ' tcx > {
547
- body : & ' a Body < ' tcx > ,
548
- caller_body : & ' a Body < ' tcx > ,
546
+ struct TypeChecker < ' mir , ' tcx > {
547
+ body : & ' mir Body < ' tcx > ,
548
+ caller_body : & ' mir Body < ' tcx > ,
549
549
tcx : TyCtxt < ' tcx > ,
550
550
param_env : ParamEnv < ' tcx > ,
551
551
mir_phase : MirPhase ,
You can’t perform that action at this time.
0 commit comments