Skip to content

Commit 923f44c

Browse files
committed
consistent name for UniversalRegions
1 parent 18a029c commit 923f44c

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_borrowck/src

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)