fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.4 KiB83 linesraw
1error[E0566]: conflicting representation hints
2  --> $DIR/conflicting-repr-hints.rs:13:8
3   |
4LL | #[repr(C, u64)]
5   |        ^  ^^^
6   |
7   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
8   = note: for more information, see issue #68585 <https://github.com/rust-lang/rust/issues/68585>
9   = note: `#[deny(conflicting_repr_hints)]` on by default
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 {
54   | ^^^^^^^
55
56error[E0587]: type has conflicting packed and align representation hints
57  --> $DIR/conflicting-repr-hints.rs:57:1
58   |
59LL | union Y {
60   | ^^^^^^^
61
62error[E0587]: type has conflicting packed and align representation hints
63  --> $DIR/conflicting-repr-hints.rs:64:1
64   |
65LL | union Z {
66   | ^^^^^^^
67
68error[E0587]: type has conflicting packed and align representation hints
69  --> $DIR/conflicting-repr-hints.rs:70:1
70   |
71LL | pub struct S(u16);
72   | ^^^^^^^^^^^^
73
74error[E0587]: type has conflicting packed and align representation hints
75  --> $DIR/conflicting-repr-hints.rs:73:1
76   |
77LL | pub union U {
78   | ^^^^^^^^^^^
79
80error: aborting due to 12 previous errors
81
82Some errors have detailed explanations: E0566, E0587, E0634.
83For more information about an error, try `rustc --explain E0566`.