2018-08-08 14:28:26 +02:00
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2022-01-19 16:24:49 +01:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:3:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[repr(transparent, C)]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^ ^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2022-01-19 16:24:49 +01:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:8:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[repr(transparent, packed)]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^ ^^^^^^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2022-01-19 16:24:49 +01:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:11:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[repr(transparent, align(2))]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^ ^^^^^^^^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2022-01-19 16:24:49 +01:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:14:8
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[repr(transparent)]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
LL | #[repr(C)]
|
|
|
|
| ^
|
|
|
|
|
2018-08-23 02:19:38 +03:00
|
|
|
error: aborting due to 4 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2018-08-23 02:19:38 +03:00
|
|
|
For more information about this error, try `rustc --explain E0692`.
|