rustc_trans: fix compilation

This commit is contained in:
Florian Diebold 2016-10-29 12:21:49 +02:00 committed by Florian Diebold
parent 2f6976ede9
commit 8f63b416af
2 changed files with 4 additions and 0 deletions

View File

@ -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>,

View File

@ -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) { }
}