about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_trans/collector.rs2
-rw-r--r--src/librustc_trans/symbol_names_test.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_trans/collector.rs b/src/librustc_trans/collector.rs
index a4439b0796e..5c7b004375e 100644
--- a/src/librustc_trans/collector.rs
+++ b/src/librustc_trans/collector.rs
@@ -1124,8 +1124,6 @@ impl<'b, 'a, 'v> ItemLikeVisitor<'v> for RootCollector<'b, 'a, 'v> {
             _ => { /* Nothing to do here */ }
         }
     }
-
-    fn visit_expr_id(&mut self, _: hir::ExprId) { }
 }
 
 fn create_trans_items_for_default_impls<'a, 'tcx>(scx: &SharedCrateContext<'a, 'tcx>,
diff --git a/src/librustc_trans/symbol_names_test.rs b/src/librustc_trans/symbol_names_test.rs
index de6a13ec80b..aa23a181722 100644
--- a/src/librustc_trans/symbol_names_test.rs
+++ b/src/librustc_trans/symbol_names_test.rs
@@ -81,7 +81,5 @@ impl<'a, 'tcx> Visitor<'tcx> for SymbolNamesTest<'a, 'tcx> {
         self.process_attrs(ii.id);
         intravisit::walk_impl_item(self, ii)
     }
-
-    fn visit_expr_id(&mut self, _: hir::ExprId) { }
 }