summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/empty_enum.rs
blob: a2e5c13c45282c50b93ec0e00d6723660af34033 (plain)
1
2
3
4
5
6
7
#![allow(dead_code)]
#![warn(clippy::empty_enum)]
// Enable never type to test empty enum lint
#![feature(never_type)]
enum Empty {}

fn main() {}