Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/transmute-src-not-intobytes.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not satisfied
2 --> tests/ui-msrv/transmute-src-not-intobytes.rs:19:32
3 |
4 19 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0)));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy<AU16>`
6 |
7 note: required by a bound in `SRC_NOT_AS_BYTES::transmute`
8 --> tests/ui-msrv/transmute-src-not-intobytes.rs:19:32
9 |
10 19 | const SRC_NOT_AS_BYTES: AU16 = transmute!(NotZerocopy(AU16(0)));
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | |
13 | required by a bound in this
14 | required by this bound in `SRC_NOT_AS_BYTES::transmute`
15 = note: this error originates in the macro `transmute` (in Nightly builds, run with -Z macro-backtrace for more info)