]>
Commit | Line | Data |
---|---|---|
136023e0 | 1 | error[E0517]: attribute should be applied to an enum |
29967ef6 XL |
2 | --> $DIR/repr-disallow-on-variant.rs:4:12 |
3 | | | |
4 | LL | #[repr(u8)] | |
5 | | ^^ | |
6 | LL | | |
7 | LL | Variant, | |
136023e0 | 8 | | ------- not an enum |
29967ef6 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0517`. |