]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conflicting-repr-hints.stderr
Rollup merge of #65120 - AnthonyMikh:fix_65119, r=estebank
[rust.git] / src / test / ui / conflicting-repr-hints.stderr
1 warning[E0566]: conflicting representation hints
2   --> $DIR/conflicting-repr-hints.rs:9:8
3    |
4 LL | #[repr(C, u64)]
5    |        ^  ^^^
6
7 warning[E0566]: conflicting representation hints
8   --> $DIR/conflicting-repr-hints.rs:12:8
9    |
10 LL | #[repr(u32, u64)]
11    |        ^^^  ^^^
12
13 error[E0587]: type has conflicting packed and align representation hints
14   --> $DIR/conflicting-repr-hints.rs:19:1
15    |
16 LL | struct F(i32);
17    | ^^^^^^^^^^^^^^
18
19 error[E0587]: type has conflicting packed and align representation hints
20   --> $DIR/conflicting-repr-hints.rs:23:1
21    |
22 LL | struct G(i32);
23    | ^^^^^^^^^^^^^^
24
25 error[E0587]: type has conflicting packed and align representation hints
26   --> $DIR/conflicting-repr-hints.rs:27:1
27    |
28 LL | struct H(i32);
29    | ^^^^^^^^^^^^^^
30
31 error[E0634]: type has conflicting packed representation hints
32   --> $DIR/conflicting-repr-hints.rs:30:1
33    |
34 LL | struct I(i32);
35    | ^^^^^^^^^^^^^^
36
37 error[E0634]: type has conflicting packed representation hints
38   --> $DIR/conflicting-repr-hints.rs:34:1
39    |
40 LL | struct J(i32);
41    | ^^^^^^^^^^^^^^
42
43 error[E0587]: type has conflicting packed and align representation hints
44   --> $DIR/conflicting-repr-hints.rs:40:1
45    |
46 LL | / union X {
47 LL | |     i: i32
48 LL | | }
49    | |_^
50
51 error[E0587]: type has conflicting packed and align representation hints
52   --> $DIR/conflicting-repr-hints.rs:46:1
53    |
54 LL | / union Y {
55 LL | |     i: i32
56 LL | | }
57    | |_^
58
59 error[E0587]: type has conflicting packed and align representation hints
60   --> $DIR/conflicting-repr-hints.rs:52:1
61    |
62 LL | / union Z {
63 LL | |     i: i32
64 LL | | }
65    | |_^
66
67 error: aborting due to 8 previous errors
68
69 For more information about this error, try `rustc --explain E0566`.