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