fork/rust

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

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

1.41.0
1.5 KiB59 linesraw
1error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
2  --> $DIR/repr-packed-contains-align.rs:19:1
3   |
4LL | struct SC(SA);
5   | ^^^^^^^^^^^^^^
6
7error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
8  --> $DIR/repr-packed-contains-align.rs:22:1
9   |
10LL | struct SD(SB);
11   | ^^^^^^^^^^^^^^
12
13error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
14  --> $DIR/repr-packed-contains-align.rs:25:1
15   |
16LL | struct SE(UA);
17   | ^^^^^^^^^^^^^^
18
19error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
20  --> $DIR/repr-packed-contains-align.rs:28:1
21   |
22LL | struct SF(UB);
23   | ^^^^^^^^^^^^^^
24
25error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
26  --> $DIR/repr-packed-contains-align.rs:31:1
27   |
28LL | / union UC {
29LL | |     a: UA
30LL | | }
31   | |_^
32
33error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
34  --> $DIR/repr-packed-contains-align.rs:36:1
35   |
36LL | / union UD {
37LL | |     n: UB
38LL | | }
39   | |_^
40
41error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
42  --> $DIR/repr-packed-contains-align.rs:41:1
43   |
44LL | / union UE {
45LL | |     a: SA
46LL | | }
47   | |_^
48
49error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
50  --> $DIR/repr-packed-contains-align.rs:46:1
51   |
52LL | / union UF {
53LL | |     n: SB
54LL | | }
55   | |_^
56
57error: aborting due to 8 previous errors
58
59For more information about this error, try `rustc --explain E0588`.