1error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not satisfied 2 --> tests/ui-nightly/try_transmute-src-not-intobytes.rs:18:47 3 | 418 | let src_not_into_bytes: Result<AU16, _> = try_transmute!(NotZerocopy(AU16(0))); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy<AU16>` 6 | 7 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy<AU16>` 8 = help: the following other types implement trait `zerocopy::IntoBytes`: 9 () 10 AU16 11 AtomicBool 12 AtomicI16 13 AtomicI32 14 AtomicI64 15 AtomicI8 16 AtomicIsize 17 and $N others 18note: required by a bound in `try_transmute` 19 --> src/util/macro_util.rs 20 | 21 | pub fn try_transmute<Src, Dst>(src: Src) -> Result<Dst, ValidityError<Src, Dst>> 22 | ------------- required by a bound in this function 23 | where 24 | Src: IntoBytes, 25 | ^^^^^^^^^ required by this bound in `try_transmute` 26 = note: this error originates in the macro `try_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) 27