Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/try_transmute_mut-src-not-intobytes.stderr

raw
1 error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
2 --> tests/ui-msrv/try_transmute_mut-src-not-intobytes.rs:23:40
3 |
4 23 | let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoBytes` is not implemented for `Src`
6 |
7 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error[E0277]: the trait bound `Dst: FromBytes` is not satisfied
10 --> tests/ui-msrv/try_transmute_mut-src-not-intobytes.rs:23:40
11 |
12 23 | let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
13 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `Dst`
14 |
15 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error[E0277]: the trait bound `Dst: IntoBytes` is not satisfied
18 --> tests/ui-msrv/try_transmute_mut-src-not-intobytes.rs:23:40
19 |
20 23 | let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
21 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoBytes` is not implemented for `Dst`
22 |
23 = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)