Skip to content

Commit b3011dd

Browse files
committed
Visit ItemKind::Impl for dead code lint
1 parent 33ef0ba commit b3011dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc/middle/dead.rs

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ impl<'a, 'tcx> MarkSymbolVisitor<'a, 'tcx> {
172172
| hir::ItemKind::Ty(..)
173173
| hir::ItemKind::Static(..)
174174
| hir::ItemKind::Existential(..)
175+
| hir::ItemKind::Impl(..)
175176
| hir::ItemKind::Const(..) => {
176177
intravisit::walk_item(self, &item);
177178
}

0 commit comments

Comments
 (0)