Skip to content
Permalink
Browse files

Visit ItemKind::Impl for dead code lint

  • Loading branch information...
varkor committed Mar 28, 2019
1 parent 33ef0ba commit b3011dd711ea8bf4bcb04d96aff814863eff3973
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/librustc/middle/dead.rs
@@ -172,6 +172,7 @@ impl<'a, 'tcx> MarkSymbolVisitor<'a, 'tcx> {
| hir::ItemKind::Ty(..)
| hir::ItemKind::Static(..)
| hir::ItemKind::Existential(..)
| hir::ItemKind::Impl(..)
| hir::ItemKind::Const(..) => {
intravisit::walk_item(self, &item);
}

0 comments on commit b3011dd

Please sign in to comment.
You can’t perform that action at this time.