rustc_trans: fix compilation

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

View File

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

View File

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