We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff7c8f commit 6135461Copy full SHA for 6135461
src/librustc_mir/transform/clean_end_regions.rs
@@ -65,13 +65,6 @@ impl<'tcx> Visitor<'tcx> for GatherBorrowedRegions {
65
self.super_rvalue(rvalue, location);
66
}
67
68
- fn visit_statement(&mut self,
69
- block: BasicBlock,
70
- statement: &Statement<'tcx>,
71
- location: Location) {
72
- self.super_statement(block, statement, location);
73
- }
74
-
75
fn visit_ty(&mut self, ty: &Ty<'tcx>, _: Lookup) {
76
// Gather regions that occur in types
77
for re in ty.walk().flat_map(|t| t.regions()) {
0 commit comments