@@ -3,45 +3,52 @@ error[E0566]: conflicting representation hints
33 |
44LL | #[repr(C, u64)]
55 | ^ ^^^
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>
610
711error[E0566]: conflicting representation hints
8- --> $DIR/conflicting-repr-hints.rs:18 :8
12+ --> $DIR/conflicting-repr-hints.rs:19 :8
913 |
1014LL | #[repr(u32, u64)]
1115 | ^^^ ^^^
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>
1219
1320error[E0587]: type has conflicting packed and align representation hints
14- --> $DIR/conflicting-repr-hints.rs:27 :1
21+ --> $DIR/conflicting-repr-hints.rs:29 :1
1522 |
1623LL | struct F(i32);
1724 | ^^^^^^^^^^^^^^
1825
1926error[E0587]: type has conflicting packed and align representation hints
20- --> $DIR/conflicting-repr-hints.rs:31 :1
27+ --> $DIR/conflicting-repr-hints.rs:33 :1
2128 |
2229LL | struct G(i32);
2330 | ^^^^^^^^^^^^^^
2431
2532error[E0587]: type has conflicting packed and align representation hints
26- --> $DIR/conflicting-repr-hints.rs:35 :1
33+ --> $DIR/conflicting-repr-hints.rs:37 :1
2734 |
2835LL | struct H(i32);
2936 | ^^^^^^^^^^^^^^
3037
3138error[E0634]: type has conflicting packed representation hints
32- --> $DIR/conflicting-repr-hints.rs:38 :1
39+ --> $DIR/conflicting-repr-hints.rs:40 :1
3340 |
3441LL | struct I(i32);
3542 | ^^^^^^^^^^^^^^
3643
3744error[E0634]: type has conflicting packed representation hints
38- --> $DIR/conflicting-repr-hints.rs:42 :1
45+ --> $DIR/conflicting-repr-hints.rs:44 :1
3946 |
4047LL | struct J(i32);
4148 | ^^^^^^^^^^^^^^
4249
4350error[E0587]: type has conflicting packed and align representation hints
44- --> $DIR/conflicting-repr-hints.rs:48 :1
51+ --> $DIR/conflicting-repr-hints.rs:50 :1
4552 |
4653LL | / union X {
4754LL | |
@@ -50,7 +57,7 @@ LL | | }
5057 | |_^
5158
5259error[E0587]: type has conflicting packed and align representation hints
53- --> $DIR/conflicting-repr-hints.rs:55 :1
60+ --> $DIR/conflicting-repr-hints.rs:57 :1
5461 |
5562LL | / union Y {
5663LL | |
@@ -59,7 +66,7 @@ LL | | }
5966 | |_^
6067
6168error[E0587]: type has conflicting packed and align representation hints
62- --> $DIR/conflicting-repr-hints.rs:62 :1
69+ --> $DIR/conflicting-repr-hints.rs:64 :1
6370 |
6471LL | / union Z {
6572LL | |
0 commit comments