Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/include_value_not_from_bytes.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy<u32>: zerocopy::FromBytes` is not satisfied
2 --> tests/ui-msrv/include_value_not_from_bytes.rs:19:42
3 |
4 19 | const NOT_FROM_BYTES: NotZerocopy<u32> = include_value!("../../testdata/include_value/data");
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy<u32>`
6 |
7 note: required by a bound in `NOT_FROM_BYTES::transmute`
8 --> tests/ui-msrv/include_value_not_from_bytes.rs:19:42
9 |
10 19 | const NOT_FROM_BYTES: NotZerocopy<u32> = include_value!("../../testdata/include_value/data");
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | |
13 | required by a bound in this
14 | required by this bound in `NOT_FROM_BYTES::transmute`
15 = note: this error originates in the macro `$crate::transmute` (in Nightly builds, run with -Z macro-backtrace for more info)