rust/tests/ui/enum-discriminant/auxiliary/discr-foreign-dep.rs

8 lines
82 B
Rust
Raw Normal View History

#[derive(Default)]
pub enum Foo {
A(u32),
#[default]
B,
C(u32),
}