1 error: enums should not be exhaustive
2 --> $DIR/exhaustive_enums.rs:10:1
4 LL | / enum Exhaustive {
12 note: the lint level is defined here
13 --> $DIR/exhaustive_enums.rs:3:9
15 LL | #![deny(clippy::exhaustive_enums)]
16 | ^^^^^^^^^^^^^^^^^^^^^^^^
17 help: try adding #[non_exhaustive]
19 LL | #[non_exhaustive]
20 LL | enum Exhaustive {
27 error: aborting due to previous error