]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conflicting-repr-hints.stderr
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / conflicting-repr-hints.stderr
1 error[E0566]: conflicting representation hints
2   --> $DIR/conflicting-repr-hints.rs:13:8
3    |
4 LL | #[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
11 error[E0566]: conflicting representation hints
12   --> $DIR/conflicting-repr-hints.rs:19:8
13    |
14 LL | #[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
20 error[E0587]: type has conflicting packed and align representation hints
21   --> $DIR/conflicting-repr-hints.rs:29:1
22    |
23 LL | struct F(i32);
24    | ^^^^^^^^^^^^^^
25
26 error[E0587]: type has conflicting packed and align representation hints
27   --> $DIR/conflicting-repr-hints.rs:33:1
28    |
29 LL | struct G(i32);
30    | ^^^^^^^^^^^^^^
31
32 error[E0587]: type has conflicting packed and align representation hints
33   --> $DIR/conflicting-repr-hints.rs:37:1
34    |
35 LL | struct H(i32);
36    | ^^^^^^^^^^^^^^
37
38 error[E0634]: type has conflicting packed representation hints
39   --> $DIR/conflicting-repr-hints.rs:40:1
40    |
41 LL | struct I(i32);
42    | ^^^^^^^^^^^^^^
43
44 error[E0634]: type has conflicting packed representation hints
45   --> $DIR/conflicting-repr-hints.rs:44:1
46    |
47 LL | struct J(i32);
48    | ^^^^^^^^^^^^^^
49
50 error[E0587]: type has conflicting packed and align representation hints
51   --> $DIR/conflicting-repr-hints.rs:50:1
52    |
53 LL | / union X {
54 LL | |
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:57:1
61    |
62 LL | / union Y {
63 LL | |
64 LL | |     i: i32,
65 LL | | }
66    | |_^
67
68 error[E0587]: type has conflicting packed and align representation hints
69   --> $DIR/conflicting-repr-hints.rs:64:1
70    |
71 LL | / union Z {
72 LL | |
73 LL | |     i: i32,
74 LL | | }
75    | |_^
76
77 error[E0587]: type has conflicting packed and align representation hints
78   --> $DIR/conflicting-repr-hints.rs:70:1
79    |
80 LL | pub struct S(u16);
81    | ^^^^^^^^^^^^^^^^^^
82
83 error[E0587]: type has conflicting packed and align representation hints
84   --> $DIR/conflicting-repr-hints.rs:73:1
85    |
86 LL | / pub union U {
87 LL | |     u: u16
88 LL | | }
89    | |_^
90
91 error: aborting due to 12 previous errors
92
93 Some errors have detailed explanations: E0566, E0587, E0634.
94 For more information about an error, try `rustc --explain E0566`.