Skip to content

Commit 41d6562

Browse files
committed
rename ancient regioncx
1 parent 9ea28e6 commit 41d6562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/dataflow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,11 @@ impl<'a, 'tcx> Borrows<'a, 'tcx> {
460460
pub fn new(
461461
tcx: TyCtxt<'tcx>,
462462
body: &'a Body<'tcx>,
463-
nonlexical_regioncx: &'a RegionInferenceContext<'tcx>,
463+
regioncx: &'a RegionInferenceContext<'tcx>,
464464
borrow_set: &'a BorrowSet<'tcx>,
465465
) -> Self {
466466
let borrows_out_of_scope_at_location =
467-
calculate_borrows_out_of_scope_at_location(body, nonlexical_regioncx, borrow_set);
467+
calculate_borrows_out_of_scope_at_location(body, regioncx, borrow_set);
468468
Borrows { tcx, body, borrow_set, borrows_out_of_scope_at_location }
469469
}
470470

0 commit comments

Comments
 (0)