rust/tests/ui/structs-enums/auxiliary/struct_variant_xc_aux.rs
2023-01-11 09:32:08 +00:00

9 lines
151 B
Rust

#![crate_name="struct_variant_xc_aux"]
#![crate_type = "lib"]
#[derive(Copy, Clone)]
pub enum Enum {
Variant(u8),
StructVariant { arg: u8 }
}