Rollup merge of #65116 - spastorino:remove-unneeded-fn, r=oli-obk
Remove unneeded visit_statement definition r? @oli-obk
This commit is contained in:
commit
2f4b47189d
1 changed files with 0 additions and 6 deletions
|
|
@ -39,12 +39,6 @@ impl MutVisitor<'tcx> for EraseRegionsVisitor<'tcx> {
|
|||
fn visit_substs(&mut self, substs: &mut SubstsRef<'tcx>, _: Location) {
|
||||
*substs = self.tcx.erase_regions(substs);
|
||||
}
|
||||
|
||||
fn visit_statement(&mut self,
|
||||
statement: &mut Statement<'tcx>,
|
||||
location: Location) {
|
||||
self.super_statement(statement, location);
|
||||
}
|
||||
}
|
||||
|
||||
pub struct EraseRegions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue