File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
src/librustc_mir/borrow_check/nll Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -249,23 +249,6 @@ impl<'tcx> UniversalRegions<'tcx> {
249249 ( FIRST_GLOBAL_INDEX ..self . num_universals ) . map ( RegionVid :: new)
250250 }
251251
252- /// True if `r` is classified as a global region.
253- pub fn is_global_free_region ( & self , r : RegionVid ) -> bool {
254- self . region_classification ( r) == Some ( RegionClassification :: Global )
255- }
256-
257- /// True if `r` is classified as an external region.
258- pub fn is_extern_free_region ( & self , r : RegionVid ) -> bool {
259- self . region_classification ( r) == Some ( RegionClassification :: External )
260- }
261-
262- /// True if `r` is a free region that is classified as global or
263- /// extern. This is an important category, because these regions
264- /// can be referenced in `ClosureRegionRequirements`.
265- pub fn is_non_local_free_region ( & self , r : RegionVid ) -> bool {
266- self . region_classification ( r) == Some ( RegionClassification :: Local )
267- }
268-
269252 /// True if `r` is classified as an local region.
270253 pub fn is_local_free_region ( & self , r : RegionVid ) -> bool {
271254 self . region_classification ( r) == Some ( RegionClassification :: Local )
You can’t perform that action at this time.
0 commit comments