super_ty on MutVisitor is empty so avoid the call
This commit is contained in:
parent
e413dc36a8
commit
5de9cb0703
1 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ impl EraseRegionsVisitor<'tcx> {
|
|||
impl MutVisitor<'tcx> for EraseRegionsVisitor<'tcx> {
|
||||
fn visit_ty(&mut self, ty: &mut Ty<'tcx>, _: TyContext) {
|
||||
*ty = self.tcx.erase_regions(ty);
|
||||
self.super_ty(ty);
|
||||
}
|
||||
|
||||
fn visit_region(&mut self, region: &mut ty::Region<'tcx>, _: Location) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue