Skip to content

Commit dd6a57c

Browse files
committed
rustc_trans: fix compilation
1 parent 8f63b41 commit dd6a57c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/librustc_trans/collector.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,8 +1124,6 @@ impl<'b, 'a, 'v> ItemLikeVisitor<'v> for RootCollector<'b, 'a, 'v> {
11241124
_ => { /* Nothing to do here */ }
11251125
}
11261126
}
1127-
1128-
fn visit_expr_id(&mut self, _: hir::ExprId) { }
11291127
}
11301128

11311129
fn create_trans_items_for_default_impls<'a, 'tcx>(scx: &SharedCrateContext<'a, 'tcx>,

src/librustc_trans/symbol_names_test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,5 @@ impl<'a, 'tcx> Visitor<'tcx> for SymbolNamesTest<'a, 'tcx> {
8181
self.process_attrs(ii.id);
8282
intravisit::walk_impl_item(self, ii)
8383
}
84-
85-
fn visit_expr_id(&mut self, _: hir::ExprId) { }
8684
}
8785

0 commit comments

Comments
 (0)