File tree 1 file changed +3
-3
lines changed
compiler/rustc_borrowck/src/region_infer
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1329,13 +1329,13 @@ impl<'tcx> RegionInferenceContext<'tcx> {
1329
1329
}
1330
1330
1331
1331
// Evaluate whether `sup_region == sub_region`.
1332
- fn eval_equal ( & self , r1 : RegionVid , r2 : RegionVid ) -> bool {
1332
+ pub fn eval_equal ( & self , r1 : RegionVid , r2 : RegionVid ) -> bool {
1333
1333
self . eval_outlives ( r1, r2) && self . eval_outlives ( r2, r1)
1334
1334
}
1335
1335
1336
1336
// Evaluate whether `sup_region: sub_region`.
1337
1337
#[ instrument( skip( self ) , level = "debug" , ret) ]
1338
- fn eval_outlives ( & self , sup_region : RegionVid , sub_region : RegionVid ) -> bool {
1338
+ pub fn eval_outlives ( & self , sup_region : RegionVid , sub_region : RegionVid ) -> bool {
1339
1339
debug ! (
1340
1340
"sup_region's value = {:?} universal={:?}" ,
1341
1341
self . region_value_str( sup_region) ,
@@ -2248,7 +2248,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
2248
2248
}
2249
2249
2250
2250
/// Access to the SCC constraint graph.
2251
- pub ( crate ) fn constraint_sccs ( & self ) -> & Sccs < RegionVid , ConstraintSccIndex > {
2251
+ pub fn constraint_sccs ( & self ) -> & Sccs < RegionVid , ConstraintSccIndex > {
2252
2252
self . constraint_sccs . as_ref ( )
2253
2253
}
2254
2254
You can’t perform that action at this time.
0 commit comments