2018-08-08 07:28:26 -05:00
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:5:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[repr(transparent, C)] //~ ERROR cannot have other repr
|
|
|
|
| ^^^^^^^^^^^ ^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:10:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[repr(transparent, packed)] //~ ERROR cannot have other repr
|
|
|
|
| ^^^^^^^^^^^ ^^^^^^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:13:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[repr(transparent, align(2))] //~ ERROR cannot have other repr
|
|
|
|
| ^^^^^^^^^^^ ^^^^^^^^
|
|
|
|
|
|
|
|
error[E0692]: transparent struct cannot have other repr hints
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/repr-transparent-other-reprs.rs:16:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[repr(transparent)] //~ ERROR cannot have other repr
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
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`.
|