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