summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/dead-code/empty-unused-enum.rs
blob: 864501e94952c94bc4ad88d13eb08f7d6cb08c3b (plain)
1
2
3
4
5
#![deny(unused)]

enum E {} //~ ERROR enum `E` is never used

fn main() {}