Warn unused type aliases
This commit is contained in:
parent
a75909824a
commit
75cd69cf95
5 changed files with 23 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue