| 1 |
error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not satisfied |
| 2 |
--> tests/ui-msrv/try_transmute-src-not-intobytes.rs:18:47 |
| 3 |
| |
| 4 |
18 | let src_not_into_bytes: Result<AU16, _> = try_transmute!(NotZerocopy(AU16(0))); |
| 5 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy<AU16>` |
| 6 |
| |
| 7 |
note: required by a bound in `try_transmute` |
| 8 |
--> src/util/macro_util.rs |
| 9 |
| |
| 10 |
| Src: IntoBytes, |
| 11 |
| ^^^^^^^^^ required by this bound in `try_transmute` |
| 12 |
= note: this error originates in the macro `try_transmute` (in Nightly builds, run with -Z macro-backtrace for more info) |