]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-packed-contains-align.stderr
df001d6b5f2a4c0ed8b40bcd22914a506747f35b
[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:19:1
3    |
4 LL | struct SC(SA);
5    | ^^^^^^^^^^^^^^
6
7 error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
8   --> $DIR/repr-packed-contains-align.rs:22:1
9    |
10 LL | struct SD(SB);
11    | ^^^^^^^^^^^^^^
12
13 error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
14   --> $DIR/repr-packed-contains-align.rs:25:1
15    |
16 LL | struct SE(UA);
17    | ^^^^^^^^^^^^^^
18
19 error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
20   --> $DIR/repr-packed-contains-align.rs:28:1
21    |
22 LL | struct SF(UB);
23    | ^^^^^^^^^^^^^^
24
25 error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
26   --> $DIR/repr-packed-contains-align.rs:31:1
27    |
28 LL | / union UC {
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:36:1
35    |
36 LL | / union UD {
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:41:1
43    |
44 LL | / union UE {
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:46:1
51    |
52 LL | / union UF {
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`.