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