We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0221e26 commit c5f80aaCopy full SHA for c5f80aa
src/librustc_mir/transform/erase_regions.rs
@@ -39,12 +39,6 @@ impl MutVisitor<'tcx> for EraseRegionsVisitor<'tcx> {
39
fn visit_substs(&mut self, substs: &mut SubstsRef<'tcx>, _: Location) {
40
*substs = self.tcx.erase_regions(substs);
41
}
42
-
43
- fn visit_statement(&mut self,
44
- statement: &mut Statement<'tcx>,
45
- location: Location) {
46
- self.super_statement(statement, location);
47
- }
48
49
50
pub struct EraseRegions;
0 commit comments