Skip to content

Commit 43cdf39

Browse files
committed
rename ancient regioncx
1 parent 4f7a27b commit 43cdf39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/dataflow.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,11 @@ impl<'a, 'tcx> Borrows<'a, 'tcx> {
242242
pub fn new(
243243
tcx: TyCtxt<'tcx>,
244244
body: &'a Body<'tcx>,
245-
nonlexical_regioncx: &'a RegionInferenceContext<'tcx>,
245+
regioncx: &'a RegionInferenceContext<'tcx>,
246246
borrow_set: &'a BorrowSet<'tcx>,
247247
) -> Self {
248248
let borrows_out_of_scope_at_location =
249-
calculate_borrows_out_of_scope_at_location(body, nonlexical_regioncx, borrow_set);
249+
calculate_borrows_out_of_scope_at_location(body, regioncx, borrow_set);
250250
Borrows { tcx, body, borrow_set, borrows_out_of_scope_at_location }
251251
}
252252

0 commit comments

Comments
 (0)