Skip to content

Commit 231acdd

Browse files
committed
rename a couple of trivial variables
for consistency with how they're named everywhere else
1 parent eddd3a7 commit 231acdd

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_borrowck/src/type_check/liveness

1 file changed

+3
-3
lines changed

compiler/rustc_borrowck/src/type_check/liveness/trace.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ pub(super) fn trace<'mir, 'tcx>(
5757
if typeck.tcx().sess.opts.unstable_opts.polonius.is_next_enabled() {
5858
let borrowck_context = &typeck.borrowck_context;
5959
let borrow_set = &borrowck_context.borrow_set;
60-
let constraint_set = &borrowck_context.constraints.outlives_constraints;
60+
let outlives_constraints = &borrowck_context.constraints.outlives_constraints;
6161

6262
let num_region_vars = typeck.infcx.num_region_vars();
63-
let graph = constraint_set.graph(num_region_vars);
63+
let graph = outlives_constraints.graph(num_region_vars);
6464
let region_graph =
65-
graph.region_graph(constraint_set, borrowck_context.universal_regions.fr_static);
65+
graph.region_graph(outlives_constraints, borrowck_context.universal_regions.fr_static);
6666

6767
// Traverse each issuing region's constraints, and record the loan as flowing into the
6868
// outlived region.

0 commit comments

Comments
 (0)