]> git.lizzy.rs Git - rust.git/blob - tests/ui/conflicting-repr-hints.stderr
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / 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    = 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
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    | ^^^^^^^
55
56 error[E0587]: type has conflicting packed and align representation hints
57   --> $DIR/conflicting-repr-hints.rs:57:1
58    |
59 LL | union Y {
60    | ^^^^^^^
61
62 error[E0587]: type has conflicting packed and align representation hints
63   --> $DIR/conflicting-repr-hints.rs:64:1
64    |
65 LL | union Z {
66    | ^^^^^^^
67
68 error[E0587]: type has conflicting packed and align representation hints
69   --> $DIR/conflicting-repr-hints.rs:70:1
70    |
71 LL | pub struct S(u16);
72    | ^^^^^^^^^^^^
73
74 error[E0587]: type has conflicting packed and align representation hints
75   --> $DIR/conflicting-repr-hints.rs:73:1
76    |
77 LL | pub union U {
78    | ^^^^^^^^^^^
79
80 error: aborting due to 12 previous errors
81
82 Some errors have detailed explanations: E0566, E0587, E0634.
83 For more information about an error, try `rustc --explain E0566`.