• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
2  --> tests/ui-msrv/diagnostic-not-implemented-into-bytes.rs:18:24
3   |
418 |     takes_into_bytes::<NotZerocopy>();
5   |                        ^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`
6   |
7note: required by a bound in `takes_into_bytes`
8  --> tests/ui-msrv/diagnostic-not-implemented-into-bytes.rs:21:24
9   |
1021 | fn takes_into_bytes<T: IntoBytes>() {}
11   |                        ^^^^^^^^^ required by this bound in `takes_into_bytes`
12