fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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