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