]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/empty_enum_without_never_type.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / tools / clippy / tests / ui / empty_enum_without_never_type.rs
1 #![allow(dead_code)]
2 #![warn(clippy::empty_enum)]
3
4 // `never_type` is not enabled; this test has no stderr file
5 enum Empty {}
6
7 fn main() {}