fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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