Warn unused type aliases

This commit is contained in:
Seo Sanghyeon 2016-11-29 00:46:09 +09:00
parent a75909824a
commit 75cd69cf95
5 changed files with 23 additions and 2 deletions

View file

@ -413,6 +413,7 @@ impl<'a, 'tcx> DeadVisitor<'a, 'tcx> {
hir::ItemStatic(..)
| hir::ItemConst(..)
| hir::ItemFn(..)
| hir::ItemTy(..)
| hir::ItemEnum(..)
| hir::ItemStruct(..)
| hir::ItemUnion(..) => true,