rust/src/test/ui/issues/issue-74082.rs
2020-07-06 21:04:54 +01:00

10 lines
183 B
Rust

#![allow(dead_code)]
#[repr(i128)] //~ ERROR: attribute should be applied to enum
struct Foo;
#[repr(u128)] //~ ERROR: attribute should be applied to enum
struct Bar;
fn main() {}