Debian Codegraph @

debian/missing-sources/zerocopy/tests/ui-msrv/transmute-ref-src-not-intobytes.stderr

raw
1 error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
2 --> tests/ui-msrv/transmute-ref-src-not-intobytes.rs:21:33
3 |
4 21 | const SRC_NOT_AS_BYTES: &AU16 = transmute_ref!(&Src(AU16(0)));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoBytes` is not implemented for `Src`
6 |
7 note: required by `AssertSrcIsIntoBytes`
8 --> tests/ui-msrv/transmute-ref-src-not-intobytes.rs:21:33
9 |
10 21 | const SRC_NOT_AS_BYTES: &AU16 = transmute_ref!(&Src(AU16(0)));
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
15 --> tests/ui-msrv/transmute-ref-src-not-intobytes.rs:21:33
16 |
17 21 | const SRC_NOT_AS_BYTES: &AU16 = transmute_ref!(&Src(AU16(0)));
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoBytes` is not implemented for `Src`
19 |
20 note: required by a bound in `AssertSrcIsIntoBytes`
21 --> tests/ui-msrv/transmute-ref-src-not-intobytes.rs:21:33
22 |
23 21 | const SRC_NOT_AS_BYTES: &AU16 = transmute_ref!(&Src(AU16(0)));
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertSrcIsIntoBytes`
25 = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)