File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_borrowck/src/type_check/liveness Expand file tree Collapse file tree 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>(
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.
You can’t perform that action at this time.
0 commit comments