File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
compiler/rustc_borrowck/src Expand file tree Collapse file tree 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>(
301301
302302#[ allow( rustc:: diagnostic_outside_of_impl) ]
303303#[ 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 > ,
306306 body : & Body < ' tcx > ,
307307 regioncx : & RegionInferenceContext < ' tcx > ,
308308 closure_region_requirements : & Option < ClosureRegionRequirements < ' tcx > > ,
309309 opaque_type_values : & FxIndexMap < LocalDefId , OpaqueHiddenType < ' tcx > > ,
310- diags : & mut crate :: diags:: BorrowckDiags < ' cx , ' tcx > ,
310+ diags : & mut crate :: diags:: BorrowckDiags < ' infcx , ' tcx > ,
311311) {
312312 let tcx = infcx. tcx ;
313313 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> {
423423 }
424424}
425425
426- struct UniversalRegionsBuilder < ' cx , ' tcx > {
427- infcx : & ' cx BorrowckInferCtxt < ' tcx > ,
426+ struct UniversalRegionsBuilder < ' infcx , ' tcx > {
427+ infcx : & ' infcx BorrowckInferCtxt < ' tcx > ,
428428 mir_def : LocalDefId ,
429429 param_env : ty:: ParamEnv < ' tcx > ,
430430}
You can’t perform that action at this time.
0 commit comments