diff options
| author | Florian Diebold <flodiebold@gmail.com> | 2016-10-29 12:21:49 +0200 |
|---|---|---|
| committer | Florian Diebold <florian.diebold@freiheit.com> | 2016-11-29 13:04:27 +0100 |
| commit | 8f63b416af498e4b5ab47da56450e6cf4207ca25 (patch) | |
| tree | 58914ff94952b12755022d1e869f4683589156b3 | |
| parent | 2f6976ede95f73652d391b0f87883bd9d08e968e (diff) | |
rustc_trans: fix compilation
| -rw-r--r-- | src/librustc_trans/collector.rs | 2 | ||||
| -rw-r--r-- | src/librustc_trans/symbol_names_test.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_trans/collector.rs b/src/librustc_trans/collector.rs index 5c7b004375e..a4439b0796e 100644 --- a/src/librustc_trans/collector.rs +++ b/src/librustc_trans/collector.rs @@ -1124,6 +1124,8 @@ 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 aa23a181722..de6a13ec80b 100644 --- a/src/librustc_trans/symbol_names_test.rs +++ b/src/librustc_trans/symbol_names_test.rs @@ -81,5 +81,7 @@ 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) { } } |
