]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-transparent-other-reprs.stderr
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / repr / repr-transparent-other-reprs.stderr
1 error[E0692]: transparent struct cannot have other repr hints
2   --> $DIR/repr-transparent-other-reprs.rs:5:8
3    |
4 LL | #[repr(transparent, C)]
5    |        ^^^^^^^^^^^  ^
6
7 error[E0692]: transparent struct cannot have other repr hints
8   --> $DIR/repr-transparent-other-reprs.rs:10:8
9    |
10 LL | #[repr(transparent, packed)]
11    |        ^^^^^^^^^^^  ^^^^^^
12
13 error[E0692]: transparent struct cannot have other repr hints
14   --> $DIR/repr-transparent-other-reprs.rs:13:8
15    |
16 LL | #[repr(transparent, align(2))]
17    |        ^^^^^^^^^^^  ^^^^^^^^
18
19 error[E0692]: transparent struct cannot have other repr hints
20   --> $DIR/repr-transparent-other-reprs.rs:16:8
21    |
22 LL | #[repr(transparent)]
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`.