• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1warning: unused `#[macro_use]` import
2  --> tests/ui-msrv/msrv_specific.rs:12:1
3   |
412 | #[macro_use]
5   | ^^^^^^^^^^^^
6   |
7   = note: `#[warn(unused_imports)]` on by default
8
9error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied
10  --> tests/ui-msrv/msrv_specific.rs:35:9
11   |
1235 |         is_into_bytes_1::<IntoBytes1<AU16>>();
13   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16`
14   |
15note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `IntoBytes1<AU16>`
16  --> tests/ui-msrv/msrv_specific.rs:24:10
17   |
1824 | #[derive(IntoBytes)]
19   |          ^^^^^^^^^
20note: required by a bound in `is_into_bytes_1`
21  --> tests/ui-msrv/msrv_specific.rs:33:23
22   |
2333 | 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