• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
2  --> tests/ui-msrv/derive_transparent.rs:34:1
3   |
434 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
6   |
7note: required because of the requirements on the impl of `zerocopy::TryFromBytes` for `TransparentStruct<NotZerocopy>`
8  --> tests/ui-msrv/derive_transparent.rs:24:21
9   |
1024 | #[derive(IntoBytes, FromBytes, Unaligned)]
11   |                     ^^^^^^^^^
12note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
13  --> tests/ui-msrv/derive_transparent.rs:34:1
14   |
1534 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
16   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
17   = note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
18
19error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
20  --> tests/ui-msrv/derive_transparent.rs:35:1
21   |
2235 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
23   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy`
24   |
25note: required because of the requirements on the impl of `FromZeros` for `TransparentStruct<NotZerocopy>`
26  --> tests/ui-msrv/derive_transparent.rs:24:21
27   |
2824 | #[derive(IntoBytes, FromBytes, Unaligned)]
29   |                     ^^^^^^^^^
30note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
31  --> tests/ui-msrv/derive_transparent.rs:35:1
32   |
3335 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
34   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
35   = note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
36
37error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied
38  --> tests/ui-msrv/derive_transparent.rs:36:1
39   |
4036 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
41   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy`
42   |
43note: required because of the requirements on the impl of `zerocopy::FromBytes` for `TransparentStruct<NotZerocopy>`
44  --> tests/ui-msrv/derive_transparent.rs:24:21
45   |
4624 | #[derive(IntoBytes, FromBytes, Unaligned)]
47   |                     ^^^^^^^^^
48note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
49  --> tests/ui-msrv/derive_transparent.rs:36:1
50   |
5136 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
52   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
53   = note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
54
55error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
56  --> tests/ui-msrv/derive_transparent.rs:37:1
57   |
5837 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
59   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`
60   |
61note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `TransparentStruct<NotZerocopy>`
62  --> tests/ui-msrv/derive_transparent.rs:24:10
63   |
6424 | #[derive(IntoBytes, FromBytes, Unaligned)]
65   |          ^^^^^^^^^
66note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
67  --> tests/ui-msrv/derive_transparent.rs:37:1
68   |
6937 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
70   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
71   = note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
72
73error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied
74  --> tests/ui-msrv/derive_transparent.rs:38:1
75   |
7638 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
77   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy`
78   |
79note: required because of the requirements on the impl of `zerocopy::Unaligned` for `TransparentStruct<NotZerocopy>`
80  --> tests/ui-msrv/derive_transparent.rs:24:32
81   |
8224 | #[derive(IntoBytes, FromBytes, Unaligned)]
83   |                                ^^^^^^^^^
84note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
85  --> tests/ui-msrv/derive_transparent.rs:38:1
86   |
8738 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
88   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
89   = note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
90