Debian Codegraph @

debian/missing-sources/zerocopy-derive/tests/ui-nightly/struct.stderr

raw
1 error: this conflicts with another representation hint
2 --> tests/ui-nightly/struct.rs:185:8
3 |
4 185 | #[repr(C, C)] // zerocopy-derive conservatively treats these as conflicting reprs
5 | ^^^^
6
7 error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
8 --> tests/ui-nightly/struct.rs:190:10
9 |
10 190 | #[derive(IntoBytes)]
11 | ^^^^^^^^^
12 |
13 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
16 --> tests/ui-nightly/struct.rs:196:10
17 |
18 196 | #[derive(IntoBytes)]
19 | ^^^^^^^^^
20 |
21 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout
24 --> tests/ui-nightly/struct.rs:221:10
25 |
26 221 | #[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: cannot derive `Unaligned` on type with alignment greater than 1
32 --> tests/ui-nightly/struct.rs:234:11
33 |
34 234 | #[repr(C, align(2))]
35 | ^^^^^^^^
36
37 error: this conflicts with another representation hint
38 --> tests/ui-nightly/struct.rs:239:8
39 |
40 239 | #[repr(transparent, align(2))]
41 | ^^^^^^^^^^^
42
43 error: this conflicts with another representation hint
44 --> tests/ui-nightly/struct.rs:246:8
45 |
46 246 | #[repr(packed, align(2))]
47 | ^^^^^^^^^^^^^^^^
48
49 error: this conflicts with another representation hint
50 --> tests/ui-nightly/struct.rs:251:8
51 |
52 251 | #[repr(align(1), align(2))]
53 | ^^^^^^^^^^^^^^^^^^
54
55 error: this conflicts with another representation hint
56 --> tests/ui-nightly/struct.rs:256:8
57 |
58 256 | #[repr(align(2), align(4))]
59 | ^^^^^^^^^^^^^^^^^^
60
61 error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment
62 --> tests/ui-nightly/struct.rs:259:10
63 |
64 259 | #[derive(Unaligned)]
65 | ^^^^^^^^^
66 |
67 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
68
69 error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment
70 --> tests/ui-nightly/struct.rs:263:10
71 |
72 263 | #[derive(Unaligned)]
73 | ^^^^^^^^^
74 |
75 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
76
77 error: this conflicts with another representation hint
78 --> tests/ui-nightly/struct.rs:272:19
79 |
80 272 | #[repr(packed(2), C)]
81 | ___________________^
82 273 | | #[derive(Unaligned)]
83 274 | | #[zerocopy(crate = "zerocopy_renamed")]
84 275 | | #[repr(C, packed(2))]
85 | |________^
86
87 error[E0692]: transparent struct cannot have other repr hints
88 --> tests/ui-nightly/struct.rs:239:8
89 |
90 239 | #[repr(transparent, align(2))]
91 | ^^^^^^^^^^^ ^^^^^^^^
92
93 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
94 --> tests/ui-nightly/struct.rs:31:10
95 |
96 31 | #[derive(KnownLayout)]
97 | ^^^^^^^^^^^ doesn't have a size known at compile-time
98 |
99 = help: within `KL00`, the trait `Sized` is not implemented for `[u8]`
100 note: required because it appears within the type `KL00`
101 --> tests/ui-nightly/struct.rs:33:8
102 |
103 33 | struct KL00(u8, NotKnownLayoutDst);
104 | ^^^^
105 = help: see issue #48214
106 = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
107 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
108 |
109 9 + #![feature(trivial_bounds)]
110 |
111
112 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
113 --> tests/ui-nightly/struct.rs:37:10
114 |
115 37 | #[derive(KnownLayout)]
116 | ^^^^^^^^^^^ doesn't have a size known at compile-time
117 |
118 = help: within `KL02`, the trait `Sized` is not implemented for `[u8]`
119 note: required because it appears within the type `KL02`
120 --> tests/ui-nightly/struct.rs:39:8
121 |
122 39 | struct KL02(u8, [u8]);
123 | ^^^^
124 = help: see issue #48214
125 = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
126 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
127 |
128 9 + #![feature(trivial_bounds)]
129 |
130
131 error[E0277]: the trait bound `NotKnownLayoutDst: zerocopy_renamed::KnownLayout` is not satisfied
132 --> tests/ui-nightly/struct.rs:43:10
133 |
134 43 | #[derive(KnownLayout)]
135 | ^^^^^^^^^^^ unsatisfied trait bound
136 |
137 help: the trait `zerocopy_renamed::KnownLayout` is not implemented for `NotKnownLayoutDst`
138 --> tests/ui-nightly/struct.rs:27:1
139 |
140 27 | struct NotKnownLayoutDst([u8]);
141 | ^^^^^^^^^^^^^^^^^^^^^^^^
142 = note: Consider adding `#[derive(KnownLayout)]` to `NotKnownLayoutDst`
143 = help: the following other types implement trait `zerocopy_renamed::KnownLayout`:
144 &T
145 &mut T
146 ()
147 *const T
148 *mut T
149 AU16
150 AtomicBool
151 AtomicI16
152 and $N others
153 = help: see issue #48214
154 = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
155 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
156 |
157 9 + #![feature(trivial_bounds)]
158 |
159
160 error[E0277]: the trait bound `NotKnownLayout: zerocopy_renamed::KnownLayout` is not satisfied
161 --> tests/ui-nightly/struct.rs:50:10
162 |
163 50 | #[derive(KnownLayout)]
164 | ^^^^^^^^^^^ unsatisfied trait bound
165 |
166 help: the trait `zerocopy_renamed::KnownLayout` is not implemented for `NotKnownLayout`
167 --> tests/ui-nightly/struct.rs:25:1
168 |
169 25 | struct NotKnownLayout;
170 | ^^^^^^^^^^^^^^^^^^^^^
171 = note: Consider adding `#[derive(KnownLayout)]` to `NotKnownLayout`
172 = help: the following other types implement trait `zerocopy_renamed::KnownLayout`:
173 &T
174 &mut T
175 ()
176 *const T
177 *mut T
178 AU16
179 AtomicBool
180 AtomicI16
181 and $N others
182 = help: see issue #48214
183 = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
184 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
185 |
186 9 + #![feature(trivial_bounds)]
187 |
188
189 error[E0277]: the trait bound `UnsafeCell<()>: zerocopy_renamed::Immutable` is not satisfied
190 --> tests/ui-nightly/struct.rs:59:10
191 |
192 59 | #[derive(Immutable)]
193 | ^^^^^^^^^ the trait `zerocopy_renamed::Immutable` is not implemented for `UnsafeCell<()>`
194 |
195 = note: Consider adding `#[derive(Immutable)]` to `UnsafeCell<()>`
196 = help: the following other types implement trait `zerocopy_renamed::Immutable`:
197 &T
198 &mut T
199 ()
200 (A, B)
201 (A, B, C)
202 (A, B, C, D)
203 (A, B, C, D, E)
204 (A, B, C, D, E, F)
205 and $N others
206 = help: see issue #48214
207 = note: this error originates in the derive macro `Immutable` (in Nightly builds, run with -Z macro-backtrace for more info)
208 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
209 |
210 9 + #![feature(trivial_bounds)]
211 |
212
213 error[E0277]: the trait bound `UnsafeCell<u8>: zerocopy_renamed::Immutable` is not satisfied
214 --> tests/ui-nightly/struct.rs:65:10
215 |
216 65 | #[derive(Immutable)]
217 | ^^^^^^^^^ the trait `zerocopy_renamed::Immutable` is not implemented for `UnsafeCell<u8>`
218 |
219 = note: Consider adding `#[derive(Immutable)]` to `UnsafeCell<u8>`
220 = help: the following other types implement trait `zerocopy_renamed::Immutable`:
221 &T
222 &mut T
223 ()
224 (A, B)
225 (A, B, C)
226 (A, B, C, D)
227 (A, B, C, D, E)
228 (A, B, C, D, E, F)
229 and $N others
230 = note: required for `[UnsafeCell<u8>; 0]` to implement `zerocopy_renamed::Immutable`
231 = help: see issue #48214
232 = note: this error originates in the derive macro `Immutable` (in Nightly builds, run with -Z macro-backtrace for more info)
233 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
234 |
235 9 + #![feature(trivial_bounds)]
236 |
237
238 error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
239 --> tests/ui-nightly/struct.rs:78:1
240 |
241 78 | struct TryFromBytesPacked {
242 | ^^^^^^^^^^^^^^^^^^^^^^^^^
243 |
244 note: `AU16` has a `#[repr(align)]` attribute
245 --> tests/ui-nightly/../include.rs
246 |
247 | pub struct AU16(pub u16);
248 | ^^^^^^^^^^^^^^^
249
250 error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
251 --> tests/ui-nightly/struct.rs:85:1
252 |
253 85 | struct TryFromBytesPackedN {
254 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
255 |
256 note: `AU16` has a `#[repr(align)]` attribute
257 --> tests/ui-nightly/../include.rs
258 |
259 | pub struct AU16(pub u16);
260 | ^^^^^^^^^^^^^^^
261
262 error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
263 --> tests/ui-nightly/struct.rs:92:1
264 |
265 92 | struct TryFromBytesCPacked {
266 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
267 |
268 note: `AU16` has a `#[repr(align)]` attribute
269 --> tests/ui-nightly/../include.rs
270 |
271 | pub struct AU16(pub u16);
272 | ^^^^^^^^^^^^^^^
273
274 error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
275 --> tests/ui-nightly/struct.rs:99:1
276 |
277 99 | struct TryFromBytesCPackedN {
278 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
279 |
280 note: `AU16` has a `#[repr(align)]` attribute
281 --> tests/ui-nightly/../include.rs
282 |
283 | pub struct AU16(pub u16);
284 | ^^^^^^^^^^^^^^^
285
286 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
287 --> tests/ui-nightly/struct.rs:110:10
288 |
289 110 | #[derive(IntoBytes)]
290 | ^^^^^^^^^ unsatisfied trait bound
291 |
292 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
293 --> tests/ui-nightly/../include.rs
294 |
295 64 | pub struct AU16(pub u16);
296 | ^^^^^^^^^^^^^^^
297 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
298 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
299 ()
300 AtomicBool
301 AtomicI8
302 AtomicU8
303 Cell<T>
304 F32<O>
305 F64<O>
306 I128<O>
307 and $N others
308 = help: see issue #48214
309 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
310 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
311 |
312 9 + #![feature(trivial_bounds)]
313 |
314
315 error[E0277]: `IntoBytes2` has 1 total byte(s) of padding
316 --> tests/ui-nightly/struct.rs:118:10
317 |
318 118 | #[derive(IntoBytes)]
319 | ^^^^^^^^^ types with padding cannot implement `IntoBytes`
320 |
321 = note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
322 = note: consider adding explicit fields where padding would be
323 = note: consider using `#[repr(packed)]` to remove padding
324 help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()`
325 but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
326 --> $WORKSPACE/src/util/macro_util.rs
327 |
328 64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
329 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
330 = help: see issue #48214
331 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
332 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
333 |
334 9 + #![feature(trivial_bounds)]
335 |
336
337 error[E0277]: `IntoBytes3` has 1 total byte(s) of padding
338 --> tests/ui-nightly/struct.rs:126:10
339 |
340 126 | #[derive(IntoBytes)]
341 | ^^^^^^^^^ types with padding cannot implement `IntoBytes`
342 |
343 = note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
344 = note: consider adding explicit fields where padding would be
345 = note: consider using `#[repr(packed)]` to remove padding
346 help: the trait `PaddingFree<IntoBytes3, 1>` is not implemented for `()`
347 but trait `PaddingFree<IntoBytes3, 0>` is implemented for it
348 --> $WORKSPACE/src/util/macro_util.rs
349 |
350 64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
351 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
352 = help: see issue #48214
353 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
354 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
355 |
356 9 + #![feature(trivial_bounds)]
357 |
358
359 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
360 --> tests/ui-nightly/struct.rs:143:10
361 |
362 143 | #[derive(IntoBytes)]
363 | ^^^^^^^^^ doesn't have a size known at compile-time
364 |
365 = help: within `IntoBytes4`, the trait `Sized` is not implemented for `[u8]`
366 note: required because it appears within the type `IntoBytes4`
367 --> tests/ui-nightly/struct.rs:146:8
368 |
369 146 | struct IntoBytes4 {
370 | ^^^^^^^^^^
371 = note: required for `IntoBytes4` to implement `zerocopy_renamed::util::macro_util::__size_of::Sized`
372 note: required by a bound in `zerocopy_renamed::util::macro_util::__size_of::size_of`
373 --> $WORKSPACE/src/util/macro_util.rs
374 |
375 | pub const fn size_of<T: Sized + ?core::marker::Sized>() -> usize {
376 | ^^^^^ required by this bound in `size_of`
377 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
378
379 error[E0277]: `[u8]` is unsized
380 --> tests/ui-nightly/struct.rs:148:8
381 |
382 148 | b: SliceU8,
383 | ^^^^^^^ `IntoBytes` needs all field types to be `Sized` in order to determine whether there is padding
384 |
385 = help: the trait `Sized` is not implemented for `[u8]`
386 = note: consider using `#[repr(packed)]` to remove padding
387 = note: `IntoBytes` does not require the fields of `#[repr(packed)]` types to be `Sized`
388 = note: required for `[u8]` to implement `zerocopy_renamed::util::macro_util::__size_of::Sized`
389 note: required by a bound in `zerocopy_renamed::util::macro_util::__size_of::size_of`
390 --> $WORKSPACE/src/util/macro_util.rs
391 |
392 | pub const fn size_of<T: Sized + ?core::marker::Sized>() -> usize {
393 | ^^^^^ required by this bound in `size_of`
394
395 error[E0277]: `IntoBytes5` has one or more padding bytes
396 --> tests/ui-nightly/struct.rs:153:10
397 |
398 153 | #[derive(IntoBytes)]
399 | ^^^^^^^^^ types with padding cannot implement `IntoBytes`
400 |
401 = note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
402 = note: consider adding explicit fields where padding would be
403 = note: consider using `#[repr(packed)]` to remove padding
404 help: the trait `DynamicPaddingFree<IntoBytes5, true>` is not implemented for `()`
405 but trait `DynamicPaddingFree<IntoBytes5, false>` is implemented for it
406 --> $WORKSPACE/src/util/macro_util.rs
407 |
408 82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
409 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410 = help: see issue #48214
411 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
412 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
413 |
414 9 + #![feature(trivial_bounds)]
415 |
416
417 error[E0277]: `IntoBytes6` has one or more padding bytes
418 --> tests/ui-nightly/struct.rs:163:10
419 |
420 163 | #[derive(IntoBytes)]
421 | ^^^^^^^^^ types with padding cannot implement `IntoBytes`
422 |
423 = note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
424 = note: consider adding explicit fields where padding would be
425 = note: consider using `#[repr(packed)]` to remove padding
426 help: the trait `DynamicPaddingFree<IntoBytes6, true>` is not implemented for `()`
427 but trait `DynamicPaddingFree<IntoBytes6, false>` is implemented for it
428 --> $WORKSPACE/src/util/macro_util.rs
429 |
430 82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
431 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
432 = help: see issue #48214
433 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
434 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
435 |
436 9 + #![feature(trivial_bounds)]
437 |
438
439 error[E0277]: `IntoBytes7` has one or more padding bytes
440 --> tests/ui-nightly/struct.rs:174:10
441 |
442 174 | #[derive(IntoBytes)]
443 | ^^^^^^^^^ types with padding cannot implement `IntoBytes`
444 |
445 = note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
446 = note: consider adding explicit fields where padding would be
447 = note: consider using `#[repr(packed)]` to remove padding
448 help: the trait `DynamicPaddingFree<IntoBytes7, true>` is not implemented for `()`
449 but trait `DynamicPaddingFree<IntoBytes7, false>` is implemented for it
450 --> $WORKSPACE/src/util/macro_util.rs
451 |
452 82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
453 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
454 = help: see issue #48214
455 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
456 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
457 |
458 9 + #![feature(trivial_bounds)]
459 |
460
461 error[E0587]: type has conflicting packed and align representation hints
462 --> tests/ui-nightly/struct.rs:247:1
463 |
464 247 | struct Unaligned3;
465 | ^^^^^^^^^^^^^^^^^
466
467 error[E0277]: the trait bound `SplitAtNotKnownLayout: zerocopy_renamed::KnownLayout` is not satisfied
468 --> tests/ui-nightly/struct.rs:278:10
469 |
470 278 | #[derive(SplitAt)]
471 | ^^^^^^^ unsatisfied trait bound
472 |
473 help: the trait `zerocopy_renamed::KnownLayout` is not implemented for `SplitAtNotKnownLayout`
474 --> tests/ui-nightly/struct.rs:281:1
475 |
476 281 | struct SplitAtNotKnownLayout([u8]);
477 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
478 = note: Consider adding `#[derive(KnownLayout)]` to `SplitAtNotKnownLayout`
479 = help: the following other types implement trait `zerocopy_renamed::KnownLayout`:
480 &T
481 &mut T
482 ()
483 *const T
484 *mut T
485 AU16
486 AtomicBool
487 AtomicI16
488 and $N others
489 note: required by a bound in `SplitAt`
490 --> $WORKSPACE/src/split_at.rs
491 |
492 61 | pub unsafe trait SplitAt: KnownLayout<PointerMetadata = usize> {
493 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SplitAt`
494 = note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info)
495
496 error[E0277]: the trait bound `u8: SplitAt` is not satisfied
497 --> tests/ui-nightly/struct.rs:283:10
498 |
499 283 | #[derive(SplitAt, KnownLayout)]
500 | ^^^^^^^ the trait `SplitAt` is not implemented for `u8`
501 |
502 = note: Consider adding `#[derive(SplitAt)]` to `u8`
503 help: the following other types implement trait `SplitAt`
504 --> tests/ui-nightly/struct.rs:278:10
505 |
506 278 | #[derive(SplitAt)]
507 | ^^^^^^^ `SplitAtNotKnownLayout`
508 ...
509 283 | #[derive(SplitAt, KnownLayout)]
510 | ^^^^^^^ `SplitAtSized`
511 |
512 ::: $WORKSPACE/src/split_at.rs
513 |
514 | unsafe impl<T> SplitAt for [T] {
515 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T]`
516 = help: see issue #48214
517 = note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info)
518 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
519 |
520 9 + #![feature(trivial_bounds)]
521 |
522
523 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
524 --> tests/ui-nightly/struct.rs:216:28
525 |
526 216 | is_into_bytes_11::<IntoBytes11<AU16>>();
527 | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
528 |
529 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
530 --> tests/ui-nightly/../include.rs
531 |
532 64 | pub struct AU16(pub u16);
533 | ^^^^^^^^^^^^^^^
534 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
535 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
536 ()
537 AtomicBool
538 AtomicI8
539 AtomicU8
540 Cell<T>
541 F32<O>
542 F64<O>
543 I128<O>
544 and $N others
545 note: required for `IntoBytes11<AU16>` to implement `zerocopy_renamed::IntoBytes`
546 --> tests/ui-nightly/struct.rs:204:10
547 |
548 204 | #[derive(IntoBytes)]
549 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
550 note: required by a bound in `is_into_bytes_11`
551 --> tests/ui-nightly/struct.rs:214:24
552 |
553 214 | fn is_into_bytes_11<T: IntoBytes>() {
554 | ^^^^^^^^^ required by this bound in `is_into_bytes_11`
555 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)