File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_borrowck/src/region_infer Expand file tree Collapse file tree 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> {
13291329 }
13301330
13311331 // 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 {
13331333 self . eval_outlives ( r1, r2) && self . eval_outlives ( r2, r1)
13341334 }
13351335
13361336 // Evaluate whether `sup_region: sub_region`.
13371337 #[ 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 {
13391339 debug ! (
13401340 "sup_region's value = {:?} universal={:?}" ,
13411341 self . region_value_str( sup_region) ,
@@ -2248,7 +2248,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
22482248 }
22492249
22502250 /// 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 > {
22522252 self . constraint_sccs . as_ref ( )
22532253 }
22542254
You can’t perform that action at this time.
0 commit comments