| warning: unused `#[macro_use]` import |
| --> tests/ui-msrv/msrv_specific.rs:12:1 |
| | |
| 12 | #[macro_use] |
| | ^^^^^^^^^^^^ |
| | |
| = note: `#[warn(unused_imports)]` on by default |
| |
| error[E0277]: the trait bound `AU16: Unaligned` is not satisfied |
| --> tests/ui-msrv/msrv_specific.rs:35:9 |
| | |
| 35 | is_into_bytes_1::<IntoBytes1<AU16>>(); |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` |
| | |
| note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `IntoBytes1<AU16>` |
| --> tests/ui-msrv/msrv_specific.rs:24:10 |
| | |
| 24 | #[derive(IntoBytes)] |
| | ^^^^^^^^^ |
| note: required by a bound in `is_into_bytes_1` |
| --> tests/ui-msrv/msrv_specific.rs:33:23 |
| | |
| 33 | fn is_into_bytes_1<T: IntoBytes>() { |
| | ^^^^^^^^^ required by this bound in `is_into_bytes_1` |
| = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |