Files
another-boids-in-rust/vendor/zerocopy/tests/ui-msrv/transmute-ref-dst-not-nocell.stderr

13 lines
682 B
Plaintext

error[E0277]: the trait bound `Dst: zerocopy::Immutable` is not satisfied
--> tests/ui-msrv/transmute-ref-dst-not-nocell.rs:23:33
|
23 | const DST_NOT_IMMUTABLE: &Dst = transmute_ref!(&AU16(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Immutable` is not implemented for `Dst`
|
note: required by `AssertDstIsImmutable`
--> tests/ui-msrv/transmute-ref-dst-not-nocell.rs:23:33
|
23 | const DST_NOT_IMMUTABLE: &Dst = transmute_ref!(&AU16(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)