]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0692]: transparent struct cannot have other repr hints |
ee023bcb | 2 | --> $DIR/repr-transparent-other-reprs.rs:3:8 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | #[repr(transparent, C)] |
b7449926 XL |
5 | | ^^^^^^^^^^^ ^ |
6 | ||
7 | error[E0692]: transparent struct cannot have other repr hints | |
ee023bcb | 8 | --> $DIR/repr-transparent-other-reprs.rs:8:8 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | #[repr(transparent, packed)] |
b7449926 XL |
11 | | ^^^^^^^^^^^ ^^^^^^ |
12 | ||
13 | error[E0692]: transparent struct cannot have other repr hints | |
ee023bcb | 14 | --> $DIR/repr-transparent-other-reprs.rs:11:8 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | #[repr(transparent, align(2))] |
b7449926 XL |
17 | | ^^^^^^^^^^^ ^^^^^^^^ |
18 | ||
19 | error[E0692]: transparent struct cannot have other repr hints | |
ee023bcb | 20 | --> $DIR/repr-transparent-other-reprs.rs:14:8 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | #[repr(transparent)] |
b7449926 XL |
23 | | ^^^^^^^^^^^ |
24 | LL | #[repr(C)] | |
25 | | ^ | |
26 | ||
27 | error: aborting due to 4 previous errors | |
28 | ||
29 | For more information about this error, try `rustc --explain E0692`. |