1error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not satisfied 2 --> tests/ui-stable/transmute-src-not-intobytes.rs:19:32 3 | 419 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0))); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy<AU16>` 8 | required by a bound introduced by this call 9 | 10 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy<AU16>` 11 = help: the following other types implement trait `zerocopy::IntoBytes`: 12 () 13 AU16 14 AtomicBool 15 AtomicI16 16 AtomicI32 17 AtomicI64 18 AtomicI8 19 AtomicIsize 20 and $N others 21note: required by a bound in `AssertIsIntoBytes` 22 --> tests/ui-stable/transmute-src-not-intobytes.rs:19:32 23 | 2419 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0))); 25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsIntoBytes` 26 = note: this error originates in the macro `transmute` (in Nightly builds, run with -Z macro-backtrace for more info) 27 28error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not satisfied 29 --> tests/ui-stable/transmute-src-not-intobytes.rs:19:32 30 | 3119 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0))); 32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy<AU16>` 33 | 34 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy<AU16>` 35 = help: the following other types implement trait `zerocopy::IntoBytes`: 36 () 37 AU16 38 AtomicBool 39 AtomicI16 40 AtomicI32 41 AtomicI64 42 AtomicI8 43 AtomicIsize 44 and $N others 45note: required by a bound in `AssertIsIntoBytes` 46 --> tests/ui-stable/transmute-src-not-intobytes.rs:19:32 47 | 4819 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0))); 49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsIntoBytes` 50 = note: this error originates in the macro `transmute` (in Nightly builds, run with -Z macro-backtrace for more info) 51