]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-47094.rs
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / test / ui / issues / issue-47094.rs
1 #[repr(C, u8)] //~ ERROR conflicting representation hints
2 //~^ WARN this was previously accepted
3 enum Foo {
4     A,
5     B,
6 }
7
8 #[repr(C)] //~ ERROR conflicting representation hints
9 //~^ WARN this was previously accepted
10 #[repr(u8)]
11 enum Bar {
12     A,
13     B,
14 }
15
16 fn main() {}