Debian Codegraph @

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

raw
1 warning: unused `#[macro_use]` import
2 --> tests/ui-msrv/msrv_specific.rs:12:1
3 |
4 12 | #[macro_use]
5 | ^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` on by default
8
9 error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied
10 --> tests/ui-msrv/msrv_specific.rs:36:9
11 |
12 36 | is_into_bytes_1::<IntoBytes1<AU16>>();
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16`
14 |
15 note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `IntoBytes1<AU16>`
16 --> tests/ui-msrv/msrv_specific.rs:25:10
17 |
18 25 | #[derive(IntoBytes)]
19 | ^^^^^^^^^
20 note: required by a bound in `is_into_bytes_1`
21 --> tests/ui-msrv/msrv_specific.rs:34:23
22 |
23 34 | fn is_into_bytes_1<T: IntoBytes>() {
24 | ^^^^^^^^^ required by this bound in `is_into_bytes_1`
25 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)