File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_borrowck/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ fn do_mir_borrowck<'tcx>(
330330 // will have a lifetime tied to the inference context.
331331 let mut body_owned = input_body. clone ( ) ;
332332 let mut promoted = input_promoted. to_owned ( ) ;
333- let free_regions = nll:: replace_regions_in_mir ( & infcx, & mut body_owned, & mut promoted) ;
333+ let universal_regions = nll:: replace_regions_in_mir ( & infcx, & mut body_owned, & mut promoted) ;
334334 let body = & body_owned; // no further changes
335335
336336 let location_table = PoloniusLocationTable :: new ( body) ;
@@ -355,7 +355,7 @@ fn do_mir_borrowck<'tcx>(
355355 } = nll:: compute_regions (
356356 root_cx,
357357 & infcx,
358- free_regions ,
358+ universal_regions ,
359359 body,
360360 & promoted,
361361 & location_table,
You can’t perform that action at this time.
0 commit comments