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