1error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied 2 --> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 3 | 420 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); 5 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` 6 | 7note: required by a bound in `try_transmute_mut` 8 --> src/util/macro_util.rs 9 | 10 | Dst: TryFromBytes + IntoBytes, 11 | ^^^^^^^^^^^^ required by this bound in `try_transmute_mut` 12 = note: this error originates in the macro `try_transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 13 14error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied 15 --> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 16 | 1720 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); 18 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy` 19 | 20note: required by a bound in `try_transmute_mut` 21 --> src/util/macro_util.rs 22 | 23 | Dst: TryFromBytes + IntoBytes, 24 | ^^^^^^^^^ required by this bound in `try_transmute_mut` 25 = note: this error originates in the macro `try_transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 26 27error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied 28 --> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:33 29 | 3020 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); 31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` 32 | 33note: required by a bound in `ValidityError` 34 --> src/error.rs 35 | 36 | pub struct ValidityError<Src, Dst: ?Sized + TryFromBytes> { 37 | ^^^^^^^^^^^^ required by this bound in `ValidityError` 38 39error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied 40 --> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 41 | 4220 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); 43 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` 44 | 45note: required by a bound in `ValidityError` 46 --> src/error.rs 47 | 48 | pub struct ValidityError<Src, Dst: ?Sized + TryFromBytes> { 49 | ^^^^^^^^^^^^ required by this bound in `ValidityError` 50 = note: this error originates in the macro `try_transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info) 51