Debian Codegraph @

third_party/rust/zerocopy/tests/ui-msrv/include_value_not_from_bytes.stderr

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