Skip to content

Commit be71d2b

Browse files
committed
super_ty on MutVisitor is empty so avoid the call
1 parent e59dab5 commit be71d2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_mir/transform/erase_regions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ impl EraseRegionsVisitor<'tcx> {
2525
impl MutVisitor<'tcx> for EraseRegionsVisitor<'tcx> {
2626
fn visit_ty(&mut self, ty: &mut Ty<'tcx>, _: TyContext) {
2727
*ty = self.tcx.erase_regions(ty);
28-
self.super_ty(ty);
2928
}
3029

3130
fn visit_region(&mut self, region: &mut ty::Region<'tcx>, _: Location) {

0 commit comments

Comments
 (0)