• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
2  --> tests/ui-msrv/try_transmute_ref-dst-not-immutable-tryfrombytes.rs:19:59
3   |
419 |     let dst_not_try_from_bytes: Result<&NotZerocopy, _> = try_transmute_ref!(&AU16(0));
5   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
6   |
7note: required by a bound in `try_transmute_ref`
8  --> src/util/macro_util.rs
9   |
10   |     Dst: TryFromBytes + Immutable,
11   |          ^^^^^^^^^^^^ required by this bound in `try_transmute_ref`
12   = note: this error originates in the macro `try_transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14error[E0277]: the trait bound `NotZerocopy: zerocopy::Immutable` is not satisfied
15  --> tests/ui-msrv/try_transmute_ref-dst-not-immutable-tryfrombytes.rs:19:59
16   |
1719 |     let dst_not_try_from_bytes: Result<&NotZerocopy, _> = try_transmute_ref!(&AU16(0));
18   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Immutable` is not implemented for `NotZerocopy`
19   |
20note: required by a bound in `try_transmute_ref`
21  --> src/util/macro_util.rs
22   |
23   |     Dst: TryFromBytes + Immutable,
24   |                         ^^^^^^^^^ required by this bound in `try_transmute_ref`
25   = note: this error originates in the macro `try_transmute_ref` (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_ref-dst-not-immutable-tryfrombytes.rs:19:33
29   |
3019 |     let dst_not_try_from_bytes: Result<&NotZerocopy, _> = try_transmute_ref!(&AU16(0));
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_ref-dst-not-immutable-tryfrombytes.rs:19:59
41   |
4219 |     let dst_not_try_from_bytes: Result<&NotZerocopy, _> = try_transmute_ref!(&AU16(0));
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_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
51