fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
2.2 KiB80 linesraw
1error[E0566]: conflicting representation hints
2  --> $DIR/conflicting-repr-hints.rs:13:8
3   |
4LL | #[repr(C, u64)]
5   |        ^  ^^^
6   |
7   = note: `#[deny(conflicting_repr_hints)]` on by default
8   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
10
11error[E0566]: conflicting representation hints
12  --> $DIR/conflicting-repr-hints.rs:19:8
13   |
14LL | #[repr(u32, u64)]
15   |        ^^^  ^^^
16   |
17   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
19
20error[E0587]: type has conflicting packed and align representation hints
21  --> $DIR/conflicting-repr-hints.rs:29:1
22   |
23LL | struct F(i32);
24   | ^^^^^^^^^^^^^^
25
26error[E0587]: type has conflicting packed and align representation hints
27  --> $DIR/conflicting-repr-hints.rs:33:1
28   |
29LL | struct G(i32);
30   | ^^^^^^^^^^^^^^
31
32error[E0587]: type has conflicting packed and align representation hints
33  --> $DIR/conflicting-repr-hints.rs:37:1
34   |
35LL | struct H(i32);
36   | ^^^^^^^^^^^^^^
37
38error[E0634]: type has conflicting packed representation hints
39  --> $DIR/conflicting-repr-hints.rs:40:1
40   |
41LL | struct I(i32);
42   | ^^^^^^^^^^^^^^
43
44error[E0634]: type has conflicting packed representation hints
45  --> $DIR/conflicting-repr-hints.rs:44:1
46   |
47LL | struct J(i32);
48   | ^^^^^^^^^^^^^^
49
50error[E0587]: type has conflicting packed and align representation hints
51  --> $DIR/conflicting-repr-hints.rs:50:1
52   |
53LL | / union X {
54LL | |
55LL | |     i: i32,
56LL | | }
57   | |_^
58
59error[E0587]: type has conflicting packed and align representation hints
60  --> $DIR/conflicting-repr-hints.rs:57:1
61   |
62LL | / union Y {
63LL | |
64LL | |     i: i32,
65LL | | }
66   | |_^
67
68error[E0587]: type has conflicting packed and align representation hints
69  --> $DIR/conflicting-repr-hints.rs:64:1
70   |
71LL | / union Z {
72LL | |
73LL | |     i: i32,
74LL | | }
75   | |_^
76
77error: aborting due to 10 previous errors
78
79Some errors have detailed explanations: E0566, E0587.
80For more information about an error, try `rustc --explain E0566`.