2020-09-10 13:54:17 -05:00
|
|
|
error[E0517]: attribute should be applied to an enum
|
2020-07-06 15:04:54 -05:00
|
|
|
--> $DIR/issue-74082.rs:3:8
|
|
|
|
|
|
|
|
|
LL | #[repr(i128)]
|
|
|
|
| ^^^^
|
|
|
|
LL | struct Foo;
|
|
|
|
| ----------- not an enum
|
|
|
|
|
2020-09-10 13:54:17 -05:00
|
|
|
error[E0517]: attribute should be applied to an enum
|
2020-07-06 15:04:54 -05:00
|
|
|
--> $DIR/issue-74082.rs:6:8
|
|
|
|
|
|
|
|
|
LL | #[repr(u128)]
|
|
|
|
| ^^^^
|
|
|
|
LL | struct Bar;
|
|
|
|
| ----------- not an enum
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0517`.
|