]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-74082.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / issues / issue-74082.rs
1 #![allow(dead_code)]
2
3 #[repr(i128)] //~ ERROR: attribute should be applied to an enum
4 struct Foo;
5
6 #[repr(u128)] //~ ERROR: attribute should be applied to an enum
7 struct Bar;
8
9 fn main() {}