error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied --> tests/ui-stable/diagnostic-not-implemented-unaligned.rs:16:23 | 16 | takes_unaligned::(); | ^^^^^^^^^^^ unsatisfied trait bound | help: the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy` --> tests/ui-stable/../include.rs | | pub struct NotZerocopy(pub T); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: Consider adding `#[derive(Unaligned)]` to `NotZerocopy` = help: the following other types implement trait `zerocopy::Unaligned`: () AtomicBool AtomicI8 AtomicU8 Cell F32 F64 I128 and $N others note: required by a bound in `takes_unaligned` --> tests/ui-stable/diagnostic-not-implemented-unaligned.rs:19:23 | 19 | fn takes_unaligned() {} | ^^^^^^^^^ required by this bound in `takes_unaligned`