blob: c5d37feb1447fd3a8e2f900a90f45794b77c229a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#[repr(C, u8)] //~ ERROR conflicting representation hints
//~^ WARN this was previously accepted
enum Foo {
A,
B,
}
#[repr(C)] //~ ERROR conflicting representation hints
//~^ WARN this was previously accepted
#[repr(u8)]
enum Bar {
A,
B,
}
fn main() {}
|