1error[E0277]: the trait bound `Dst: FromBytes` is not satisfied 2 --> tests/ui-nightly/transmute-mut-dst-not-frombytes.rs:24:38 3 | 424 | const DST_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | the trait `FromBytes` is not implemented for `Dst` 8 | required by a bound introduced by this call 9 | 10 = note: Consider adding `#[derive(FromBytes)]` to `Dst` 11 = help: the following other types implement trait `FromBytes`: 12 () 13 AtomicI16 14 AtomicI32 15 AtomicI64 16 AtomicI8 17 AtomicIsize 18 AtomicU16 19 AtomicU32 20 and $N others 21note: required by a bound in `AssertDstIsFromBytes` 22 --> tests/ui-nightly/transmute-mut-dst-not-frombytes.rs:24:38 23 | 2424 | const DST_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 25 | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertDstIsFromBytes` 26 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 27