1error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied 2 --> tests/ui-stable/diagnostic-not-implemented-unaligned.rs:18:23 3 | 418 | takes_unaligned::<NotZerocopy>(); 5 | ^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy` 6 | 7 = note: Consider adding `#[derive(Unaligned)]` to `NotZerocopy` 8 = help: the following other types implement trait `zerocopy::Unaligned`: 9 () 10 AtomicBool 11 AtomicI8 12 AtomicU8 13 F32<O> 14 F64<O> 15 I128<O> 16 I16<O> 17 and $N others 18note: required by a bound in `takes_unaligned` 19 --> tests/ui-stable/diagnostic-not-implemented-unaligned.rs:21:23 20 | 2121 | fn takes_unaligned<T: Unaligned>() {} 22 | ^^^^^^^^^ required by this bound in `takes_unaligned` 23