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