]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-74082.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[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() {}