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

8 lines
82 B
Rust

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