File tree 1 file changed +1
-14
lines changed
compiler/rustc_middle/src/ty
1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 51
51
// Region folder
52
52
53
53
impl < ' tcx > TyCtxt < ' tcx > {
54
- /// Folds the escaping and free regions in `value` using `f`, and
55
- /// sets `skipped_regions` to true if any late-bound region was found
56
- /// and skipped.
54
+ /// Folds the escaping and free regions in `value` using `f`.
57
55
pub fn fold_regions < T > (
58
56
self ,
59
57
value : T ,
@@ -64,17 +62,6 @@ impl<'tcx> TyCtxt<'tcx> {
64
62
{
65
63
value. fold_with ( & mut RegionFolder :: new ( self , & mut f) )
66
64
}
67
-
68
- pub fn super_fold_regions < T > (
69
- self ,
70
- value : T ,
71
- mut f : impl FnMut ( ty:: Region < ' tcx > , ty:: DebruijnIndex ) -> ty:: Region < ' tcx > ,
72
- ) -> T
73
- where
74
- T : TypeSuperFoldable < TyCtxt < ' tcx > > ,
75
- {
76
- value. super_fold_with ( & mut RegionFolder :: new ( self , & mut f) )
77
- }
78
65
}
79
66
80
67
/// Folds over the substructure of a type, visiting its component
You can’t perform that action at this time.
0 commit comments