about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/dataflow.rs
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-06-23 23:42:48 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-10-04 16:16:12 +0000
commit43cdf39d89a1efdc5f386c9a11d3160f12891207 (patch)
treeac4edacf6739e834e6f696c3c092a7a5b01fbb66 /compiler/rustc_borrowck/src/dataflow.rs
parent4f7a27b225a28c3600c788563ed66bf64285a79f (diff)
downloadrust-43cdf39d89a1efdc5f386c9a11d3160f12891207.tar.gz
rust-43cdf39d89a1efdc5f386c9a11d3160f12891207.zip
rename ancient regioncx
Diffstat (limited to 'compiler/rustc_borrowck/src/dataflow.rs')
-rw-r--r--compiler/rustc_borrowck/src/dataflow.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/dataflow.rs b/compiler/rustc_borrowck/src/dataflow.rs
index 4ac633c263f..4d2f983603a 100644
--- a/compiler/rustc_borrowck/src/dataflow.rs
+++ b/compiler/rustc_borrowck/src/dataflow.rs
@@ -242,11 +242,11 @@ impl<'a, 'tcx> Borrows<'a, 'tcx> {
     pub fn new(
         tcx: TyCtxt<'tcx>,
         body: &'a Body<'tcx>,
-        nonlexical_regioncx: &'a RegionInferenceContext<'tcx>,
+        regioncx: &'a RegionInferenceContext<'tcx>,
         borrow_set: &'a BorrowSet<'tcx>,
     ) -> Self {
         let borrows_out_of_scope_at_location =
-            calculate_borrows_out_of_scope_at_location(body, nonlexical_regioncx, borrow_set);
+            calculate_borrows_out_of_scope_at_location(body, regioncx, borrow_set);
         Borrows { tcx, body, borrow_set, borrows_out_of_scope_at_location }
     }