Skip to content

Commit

Permalink
ICH: Don't store hashes for individual foreign items.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Dec 22, 2016
1 parent 6fac703 commit f0a630b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustc_incremental/calculate_svh/mod.rs
Expand Up @@ -238,9 +238,4 @@ impl<'a, 'tcx> Visitor<'tcx> for HashItemsVisitor<'a, 'tcx> {
self.calculate_node_id(impl_item.id, |v| v.visit_impl_item(impl_item));
visit::walk_impl_item(self, impl_item);
}

fn visit_foreign_item(&mut self, item: &'tcx hir::ForeignItem) {
self.calculate_node_id(item.id, |v| v.visit_foreign_item(item));
visit::walk_foreign_item(self, item);
}
}

0 comments on commit f0a630b

Please sign in to comment.