about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-11-22 15:16:46 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-12-01 14:04:51 +0000
commit231acddcc34d6ee62cea52e20ceb6dca8a785fdc (patch)
treeff445e434c3134d088e25b18ed40a831be1a6026
parenteddd3a7381bfeb48d220f518f8aaaea1dda59115 (diff)
downloadrust-231acddcc34d6ee62cea52e20ceb6dca8a785fdc.tar.gz
rust-231acddcc34d6ee62cea52e20ceb6dca8a785fdc.zip
rename a couple of trivial variables
for consistency with how they're named everywhere else
-rw-r--r--compiler/rustc_borrowck/src/type_check/liveness/trace.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_borrowck/src/type_check/liveness/trace.rs b/compiler/rustc_borrowck/src/type_check/liveness/trace.rs
index 12b1a101392..d6e50d971ca 100644
--- a/compiler/rustc_borrowck/src/type_check/liveness/trace.rs
+++ b/compiler/rustc_borrowck/src/type_check/liveness/trace.rs
@@ -57,12 +57,12 @@ pub(super) fn trace<'mir, 'tcx>(
     if typeck.tcx().sess.opts.unstable_opts.polonius.is_next_enabled() {
         let borrowck_context = &typeck.borrowck_context;
         let borrow_set = &borrowck_context.borrow_set;
-        let constraint_set = &borrowck_context.constraints.outlives_constraints;
+        let outlives_constraints = &borrowck_context.constraints.outlives_constraints;
 
         let num_region_vars = typeck.infcx.num_region_vars();
-        let graph = constraint_set.graph(num_region_vars);
+        let graph = outlives_constraints.graph(num_region_vars);
         let region_graph =
-            graph.region_graph(constraint_set, borrowck_context.universal_regions.fr_static);
+            graph.region_graph(outlives_constraints, borrowck_context.universal_regions.fr_static);
 
         // Traverse each issuing region's constraints, and record the loan as flowing into the
         // outlived region.