| 1 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 2 |
--> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 |
| 3 |
| |
| 4 |
20 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); |
| 5 |
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 6 |
| |
| 7 |
note: 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 |
|
| 14 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied |
| 15 |
--> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 |
| 16 |
| |
| 17 |
20 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); |
| 18 |
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy` |
| 19 |
| |
| 20 |
note: 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 |
|
| 27 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 28 |
--> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:33 |
| 29 |
| |
| 30 |
20 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); |
| 31 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 32 |
| |
| 33 |
note: 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 |
|
| 39 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 40 |
--> tests/ui-msrv/try_transmute_mut-dst-not-tryfrombytes.rs:20:63 |
| 41 |
| |
| 42 |
20 | let dst_not_try_from_bytes: Result<&mut NotZerocopy, _> = try_transmute_mut!(src); |
| 43 |
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 44 |
| |
| 45 |
note: 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) |