blob: d9bd0b0e38a692bbe527612187c8a53c8cf7b311 [file] [log] [blame] [edit]
struct Test;
enum Foo {
#[repr(u8)]
//~^ ERROR attribute should be applied to an enum
Variant,
}
fn main() {}