]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/empty_enum.rs
Rollup merge of #96860 - semarie:openbsd-futex-time64, r=cuviper
[rust.git] / src / tools / clippy / tests / ui / empty_enum.rs
1 #![allow(dead_code)]
2 #![warn(clippy::empty_enum)]
3 // Enable never type to test empty enum lint
4 #![feature(never_type)]
5 enum Empty {}
6
7 fn main() {}