Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/transmute-ref-dst-not-nocell.stderr

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