Debian Codegraph @

.cargo/vendor/zerocopy-derive/tests/ui-msrv/derive_transparent.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
2 --> tests/ui-msrv/derive_transparent.rs:34:1
3 |
4 34 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
6 |
7 note: required because of the requirements on the impl of `zerocopy::TryFromBytes` for `TransparentStruct<NotZerocopy>`
8 --> tests/ui-msrv/derive_transparent.rs:24:21
9 |
10 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
11 | ^^^^^^^^^
12 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
13 --> tests/ui-msrv/derive_transparent.rs:34:1
14 |
15 34 | 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
19 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
20 --> tests/ui-msrv/derive_transparent.rs:35:1
21 |
22 35 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy`
24 |
25 note: required because of the requirements on the impl of `FromZeros` for `TransparentStruct<NotZerocopy>`
26 --> tests/ui-msrv/derive_transparent.rs:24:21
27 |
28 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
29 | ^^^^^^^^^
30 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
31 --> tests/ui-msrv/derive_transparent.rs:35:1
32 |
33 35 | 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
37 error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied
38 --> tests/ui-msrv/derive_transparent.rs:36:1
39 |
40 36 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy`
42 |
43 note: required because of the requirements on the impl of `zerocopy::FromBytes` for `TransparentStruct<NotZerocopy>`
44 --> tests/ui-msrv/derive_transparent.rs:24:21
45 |
46 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
47 | ^^^^^^^^^
48 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
49 --> tests/ui-msrv/derive_transparent.rs:36:1
50 |
51 36 | 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
55 error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
56 --> tests/ui-msrv/derive_transparent.rs:37:1
57 |
58 37 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`
60 |
61 note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `TransparentStruct<NotZerocopy>`
62 --> tests/ui-msrv/derive_transparent.rs:24:10
63 |
64 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
65 | ^^^^^^^^^
66 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
67 --> tests/ui-msrv/derive_transparent.rs:37:1
68 |
69 37 | 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
73 error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied
74 --> tests/ui-msrv/derive_transparent.rs:38:1
75 |
76 38 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy`
78 |
79 note: required because of the requirements on the impl of `zerocopy::Unaligned` for `TransparentStruct<NotZerocopy>`
80 --> tests/ui-msrv/derive_transparent.rs:24:32
81 |
82 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
83 | ^^^^^^^^^
84 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
85 --> tests/ui-msrv/derive_transparent.rs:38:1
86 |
87 38 | 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)