File tree 1 file changed +3
-3
lines changed
compiler/rustc_borrowck/src/type_check/liveness
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ pub(super) fn trace<'mir, 'tcx>(
57
57
if typeck. tcx ( ) . sess . opts . unstable_opts . polonius . is_next_enabled ( ) {
58
58
let borrowck_context = & typeck. borrowck_context ;
59
59
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 ;
61
61
62
62
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) ;
64
64
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 ) ;
66
66
67
67
// Traverse each issuing region's constraints, and record the loan as flowing into the
68
68
// outlived region.
You can’t perform that action at this time.
0 commit comments