@@ -5,109 +5,85 @@ error: this conflicts with another representation hint
55 | ^
66
77error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
8- --> tests/ui-msrv/struct.rs:140 :10
8+ --> tests/ui-msrv/struct.rs:138 :10
99 |
10- 140 | #[derive(IntoBytes)]
10+ 138 | #[derive(IntoBytes)]
1111 | ^^^^^^^^^
1212 |
1313 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
1414
1515error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
16- --> tests/ui-msrv/struct.rs:150 :10
16+ --> tests/ui-msrv/struct.rs:143 :10
1717 |
18- 150 | #[derive(IntoBytes)]
18+ 143 | #[derive(IntoBytes)]
1919 | ^^^^^^^^^
2020 |
2121 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
2222
2323error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
24- --> tests/ui-msrv/struct.rs:159 :10
24+ --> tests/ui-msrv/struct.rs:166 :10
2525 |
26- 159 | #[derive(IntoBytes)]
27- | ^^^^^^^^^
28- |
29- = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
30-
31- error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
32- --> tests/ui-msrv/struct.rs:164:10
33- |
34- 164 | #[derive(IntoBytes)]
35- | ^^^^^^^^^
36- |
37- = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
38-
39- error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
40- --> tests/ui-msrv/struct.rs:172:10
41- |
42- 172 | #[derive(IntoBytes)]
43- | ^^^^^^^^^
44- |
45- = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
46-
47- error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
48- --> tests/ui-msrv/struct.rs:195:10
49- |
50- 195 | #[derive(IntoBytes)]
26+ 166 | #[derive(IntoBytes)]
5127 | ^^^^^^^^^
5228 |
5329 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
5430
5531error: cannot derive `Unaligned` on type with alignment greater than 1
56- --> tests/ui-msrv/struct.rs:206 :11
32+ --> tests/ui-msrv/struct.rs:177 :11
5733 |
58- 206 | #[repr(C, align(2))]
34+ 177 | #[repr(C, align(2))]
5935 | ^^^^^
6036
6137error: this conflicts with another representation hint
62- --> tests/ui-msrv/struct.rs:210 :8
38+ --> tests/ui-msrv/struct.rs:181 :8
6339 |
64- 210 | #[repr(transparent, align(2))]
40+ 181 | #[repr(transparent, align(2))]
6541 | ^^^^^^^^^^^
6642
6743error: this conflicts with another representation hint
68- --> tests/ui-msrv/struct.rs:216 :16
44+ --> tests/ui-msrv/struct.rs:187 :16
6945 |
70- 216 | #[repr(packed, align(2))]
46+ 187 | #[repr(packed, align(2))]
7147 | ^^^^^
7248
7349error: this conflicts with another representation hint
74- --> tests/ui-msrv/struct.rs:220 :18
50+ --> tests/ui-msrv/struct.rs:191 :18
7551 |
76- 220 | #[repr(align(1), align(2))]
52+ 191 | #[repr(align(1), align(2))]
7753 | ^^^^^
7854
7955error: this conflicts with another representation hint
80- --> tests/ui-msrv/struct.rs:224 :18
56+ --> tests/ui-msrv/struct.rs:195 :18
8157 |
82- 224 | #[repr(align(2), align(4))]
58+ 195 | #[repr(align(2), align(4))]
8359 | ^^^^^
8460
8561error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment
86- --> tests/ui-msrv/struct.rs:227 :10
62+ --> tests/ui-msrv/struct.rs:198 :10
8763 |
88- 227 | #[derive(Unaligned)]
64+ 198 | #[derive(Unaligned)]
8965 | ^^^^^^^^^
9066 |
9167 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
9268
9369error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment
94- --> tests/ui-msrv/struct.rs:230 :10
70+ --> tests/ui-msrv/struct.rs:201 :10
9571 |
96- 230 | #[derive(Unaligned)]
72+ 201 | #[derive(Unaligned)]
9773 | ^^^^^^^^^
9874 |
9975 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
10076
10177error: this conflicts with another representation hint
102- --> tests/ui-msrv/struct.rs:240 :8
78+ --> tests/ui-msrv/struct.rs:211 :8
10379 |
104- 240 | #[repr(C, packed(2))]
80+ 211 | #[repr(C, packed(2))]
10581 | ^
10682
10783error[E0692]: transparent struct cannot have other repr hints
108- --> tests/ui-msrv/struct.rs:210 :8
84+ --> tests/ui-msrv/struct.rs:181 :8
10985 |
110- 210 | #[repr(transparent, align(2))]
86+ 181 | #[repr(transparent, align(2))]
11187 | ^^^^^^^^^^^ ^^^^^^^^
11288
11389error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
0 commit comments