@@ -3,45 +3,52 @@ error[E0566]: conflicting representation hints
3
3
|
4
4
LL | #[repr(C, u64)]
5
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>
6
10
7
11
error[E0566]: conflicting representation hints
8
- --> $DIR/conflicting-repr-hints.rs:18 :8
12
+ --> $DIR/conflicting-repr-hints.rs:19 :8
9
13
|
10
14
LL | #[repr(u32, u64)]
11
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>
12
19
13
20
error[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
15
22
|
16
23
LL | struct F(i32);
17
24
| ^^^^^^^^^^^^^^
18
25
19
26
error[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
21
28
|
22
29
LL | struct G(i32);
23
30
| ^^^^^^^^^^^^^^
24
31
25
32
error[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
27
34
|
28
35
LL | struct H(i32);
29
36
| ^^^^^^^^^^^^^^
30
37
31
38
error[E0634]: type has conflicting packed representation hints
32
- --> $DIR/conflicting-repr-hints.rs:38 :1
39
+ --> $DIR/conflicting-repr-hints.rs:40 :1
33
40
|
34
41
LL | struct I(i32);
35
42
| ^^^^^^^^^^^^^^
36
43
37
44
error[E0634]: type has conflicting packed representation hints
38
- --> $DIR/conflicting-repr-hints.rs:42 :1
45
+ --> $DIR/conflicting-repr-hints.rs:44 :1
39
46
|
40
47
LL | struct J(i32);
41
48
| ^^^^^^^^^^^^^^
42
49
43
50
error[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
45
52
|
46
53
LL | / union X {
47
54
LL | |
@@ -50,7 +57,7 @@ LL | | }
50
57
| |_^
51
58
52
59
error[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
54
61
|
55
62
LL | / union Y {
56
63
LL | |
@@ -59,7 +66,7 @@ LL | | }
59
66
| |_^
60
67
61
68
error[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
63
70
|
64
71
LL | / union Z {
65
72
LL | |
0 commit comments