Debian Codegraph @

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

raw
1 warning: unused import: `zerocopy::KnownLayout`
2 --> tests/ui-msrv/late_compile_pass.rs:16:5
3 |
4 16 | use zerocopy::KnownLayout;
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` on by default
8
9 error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
10 --> tests/ui-msrv/late_compile_pass.rs:28:10
11 |
12 28 | #[derive(FromZeroes)]
13 | ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
14 |
15 = help: see issue #48214
16 = note: this error originates in the derive macro `FromZeroes` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
19 --> tests/ui-msrv/late_compile_pass.rs:37:10
20 |
21 37 | #[derive(FromBytes)]
22 | ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
23 |
24 = help: see issue #48214
25 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
26
27 error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
28 --> tests/ui-msrv/late_compile_pass.rs:37:10
29 |
30 37 | #[derive(FromBytes)]
31 | ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1`
32 |
33 note: required by a bound in `FromBytes`
34 --> $WORKSPACE/src/lib.rs
35 |
36 | pub unsafe trait FromBytes: FromZeroes {
37 | ^^^^^^^^^^ required by this bound in `FromBytes`
38 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
39
40 error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
41 --> tests/ui-msrv/late_compile_pass.rs:46:10
42 |
43 46 | #[derive(AsBytes)]
44 | ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
45 |
46 = help: see issue #48214
47 = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
48
49 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
50 --> tests/ui-msrv/late_compile_pass.rs:56:10
51 |
52 56 | #[derive(Unaligned)]
53 | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
54 |
55 = help: see issue #48214
56 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
57
58 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
59 --> tests/ui-msrv/late_compile_pass.rs:64:10
60 |
61 64 | #[derive(Unaligned)]
62 | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
63 |
64 = help: see issue #48214
65 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
66
67 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
68 --> tests/ui-msrv/late_compile_pass.rs:71:10
69 |
70 71 | #[derive(Unaligned)]
71 | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
72 |
73 = help: see issue #48214
74 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)