Debian Codegraph @

debian/rust-vendor/zerocopy-derive/tests/ui/msrv_specific.msrv.stderr

raw
1 warning: unused `#[macro_use]` import
2 --> $DIR/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_renamed::Unaligned` is not satisfied
10 --> $DIR/msrv_specific.rs:37:9
11 |
12 37 | is_into_bytes_1::<IntoBytes1<AU16>>();
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
14 |
15 note: required because of the requirements on the impl of `zerocopy_renamed::IntoBytes` for `IntoBytes1<AU16>`
16 --> $DIR/msrv_specific.rs:25:10
17 |
18 25 | #[derive(IntoBytes)]
19 | ^^^^^^^^^
20 note: required by a bound in `is_into_bytes_1`
21 --> $DIR/msrv_specific.rs:35:23
22 |
23 35 | 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)
26
27 error: aborting due to previous error; 1 warning emitted
28
29 For more information about this error, try `rustc --explain E0277`.