rust/tests/ui/rfc-2008-non-exhaustive/auxiliary/monovariants.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
128 B
Rust
Raw Normal View History

#[non_exhaustive]
pub enum NonExhaustiveMonovariant {
Variant(u32),
}
pub enum ExhaustiveMonovariant {
Variant(u32),
}