1 2 3 4 5 6 7 8
#[non_exhaustive] pub enum NonExhaustiveMonovariant { Variant(u32), } pub enum ExhaustiveMonovariant { Variant(u32), }