rust/tests/ui/enum-discriminant/arbitrary_enum_discriminant-no-repr.rs
2023-01-11 09:32:08 +00:00

9 lines
127 B
Rust

#![crate_type="lib"]
enum Enum {
//~^ ERROR `#[repr(inttype)]` must be specified
Unit = 1,
Tuple() = 2,
Struct{} = 3,
}