1error[E0277]: the trait bound `Src: FromBytes` is not satisfied 2 --> tests/ui-nightly/transmute-mut-src-not-frombytes.rs:24:38 3 | 424 | const SRC_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | the trait `FromBytes` is not implemented for `Src` 8 | required by a bound introduced by this call 9 | 10 = note: Consider adding `#[derive(FromBytes)]` to `Src` 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 `AssertSrcIsFromBytes` 22 --> tests/ui-nightly/transmute-mut-src-not-frombytes.rs:24:38 23 | 2424 | const SRC_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 25 | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertSrcIsFromBytes` 26 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 27 28error[E0277]: the trait bound `Src: FromBytes` is not satisfied 29 --> tests/ui-nightly/transmute-mut-src-not-frombytes.rs:24:38 30 | 3124 | const SRC_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 32 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `Src` 33 | 34 = note: Consider adding `#[derive(FromBytes)]` to `Src` 35 = help: the following other types implement trait `FromBytes`: 36 () 37 AtomicI16 38 AtomicI32 39 AtomicI64 40 AtomicI8 41 AtomicIsize 42 AtomicU16 43 AtomicU32 44 and $N others 45note: required by a bound in `AssertSrcIsFromBytes` 46 --> tests/ui-nightly/transmute-mut-src-not-frombytes.rs:24:38 47 | 4824 | const SRC_NOT_FROM_BYTES: &mut Dst = transmute_mut!(&mut Src); 49 | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertSrcIsFromBytes` 50 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 51