• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `Src: FromBytes` is not satisfied
2  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
3   |
423 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
5   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `Src`
6   |
7note: required by `AssertSrcIsFromBytes`
8  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
9   |
1023 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
11   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
12   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14error[E0277]: the trait bound `Src: FromBytes` is not satisfied
15  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
16   |
1723 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
18   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `Src`
19   |
20note: required by a bound in `AssertSrcIsFromBytes`
21  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
22   |
2323 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
24   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertSrcIsFromBytes`
25   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
26
27error[E0277]: the trait bound `Dst: FromBytes` is not satisfied
28  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
29   |
3023 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
31   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `Dst`
32   |
33note: required by `AssertDstIsFromBytes`
34  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
35   |
3623 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
37   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
38   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
39
40error[E0277]: the trait bound `Dst: IntoBytes` is not satisfied
41  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
42   |
4323 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
44   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoBytes` is not implemented for `Dst`
45   |
46note: required by `AssertDstIsIntoBytes`
47  --> tests/ui-msrv/try_transmute_mut-src-not-frombytes.rs:23:40
48   |
4923 |     let src_not_from_bytes: &mut Dst = transmute_mut!(&mut Src);
50   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^
51   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
52