rustc_incremental: fix compilation

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

View File

@ -174,8 +174,6 @@ impl<'a, 'tcx> ItemLikeVisitor<'tcx> for IfThisChanged<'a, 'tcx> {
fn visit_impl_item(&mut self, impl_item: &'tcx hir::ImplItem) {
self.process_attrs(impl_item.id, &impl_item.attrs);
}
fn visit_expr_id(&mut self, _: hir::ExprId) { }
}
fn check_paths<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,

View File

@ -226,7 +226,5 @@ impl<'a, 'tcx> Visitor<'tcx> for HashItemsVisitor<'a, 'tcx> {
self.calculate_node_id(item.id, |v| v.visit_foreign_item(item));
visit::walk_foreign_item(self, item);
}
fn visit_expr_id(&mut self, _: hir::ExprId) { }
}

View File

@ -509,10 +509,6 @@ macro_rules! hash_span {
}
impl<'a, 'hash, 'tcx> visit::Visitor<'tcx> for StrictVersionHashVisitor<'a, 'hash, 'tcx> {
fn visit_expr_id(&mut self, _: hir::ExprId) {
// Body exprs are hashed independently
}
fn visit_variant_data(&mut self,
s: &'tcx VariantData,
name: Name,

View File

@ -185,8 +185,6 @@ impl<'a, 'tcx> ItemLikeVisitor<'tcx> for DirtyCleanVisitor<'a, 'tcx> {
fn visit_impl_item(&mut self, _impl_item: &hir::ImplItem) {
}
fn visit_expr_id(&mut self, _: hir::ExprId) { }
}
pub fn check_dirty_clean_metadata<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
@ -231,8 +229,6 @@ impl<'a, 'tcx, 'm> ItemLikeVisitor<'tcx> for DirtyCleanMetadataVisitor<'a, 'tcx,
fn visit_impl_item(&mut self, _impl_item: &hir::ImplItem) {
}
fn visit_expr_id(&mut self, _: hir::ExprId) { }
}
impl<'a, 'tcx, 'm> DirtyCleanMetadataVisitor<'a, 'tcx, 'm> {