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