Debian Codegraph @

third_party/rust/zerocopy-derive/tests/ui-msrv/derive_transparent.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
2 --> tests/ui-msrv/derive_transparent.rs:37:1
3 |
4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
6 |
7 note: required because of the requirements on the impl of `FromZeroes` for `TransparentStruct<NotZerocopy>`
8 --> tests/ui-msrv/derive_transparent.rs:27:19
9 |
10 27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)]
11 | ^^^^^^^^^^
12 note: required by a bound in `_::{closure#0}::assert_impl_all`
13 --> tests/ui-msrv/derive_transparent.rs:37:1
14 |
15 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
17 = note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
18
19 error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
20 --> tests/ui-msrv/derive_transparent.rs:38:1
21 |
22 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
24 |
25 note: required because of the requirements on the impl of `FromBytes` for `TransparentStruct<NotZerocopy>`
26 --> tests/ui-msrv/derive_transparent.rs:27:31
27 |
28 27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)]
29 | ^^^^^^^^^
30 note: required by a bound in `_::{closure#0}::assert_impl_all`
31 --> tests/ui-msrv/derive_transparent.rs:38:1
32 |
33 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
34 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
35 = note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
36
37 error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
38 --> tests/ui-msrv/derive_transparent.rs:39:1
39 |
40 39 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes);
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
42 |
43 note: required because of the requirements on the impl of `AsBytes` for `TransparentStruct<NotZerocopy>`
44 --> tests/ui-msrv/derive_transparent.rs:27:10
45 |
46 27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)]
47 | ^^^^^^^
48 note: required by a bound in `_::{closure#0}::assert_impl_all`
49 --> tests/ui-msrv/derive_transparent.rs:39:1
50 |
51 39 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes);
52 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
53 = note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
54
55 error[E0277]: the trait bound `NotZerocopy: Unaligned` is not satisfied
56 --> tests/ui-msrv/derive_transparent.rs:40:1
57 |
58 40 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `NotZerocopy`
60 |
61 note: required because of the requirements on the impl of `Unaligned` for `TransparentStruct<NotZerocopy>`
62 --> tests/ui-msrv/derive_transparent.rs:27:42
63 |
64 27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)]
65 | ^^^^^^^^^
66 note: required by a bound in `_::{closure#0}::assert_impl_all`
67 --> tests/ui-msrv/derive_transparent.rs:40:1
68 |
69 40 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
70 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
71 = note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)