fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
845 B29 linesraw
1error[E0692]: transparent struct cannot have other repr hints
2  --> $DIR/repr-transparent-other-reprs.rs:5:8
3   |
4LL | #[repr(transparent, C)]
5   |        ^^^^^^^^^^^  ^
6
7error[E0692]: transparent struct cannot have other repr hints
8  --> $DIR/repr-transparent-other-reprs.rs:10:8
9   |
10LL | #[repr(transparent, packed)]
11   |        ^^^^^^^^^^^  ^^^^^^
12
13error[E0692]: transparent struct cannot have other repr hints
14  --> $DIR/repr-transparent-other-reprs.rs:13: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:16: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`.