| 1 |
error[E0277]: the trait bound `NotZerocopy: KnownLayout` is not satisfied |
| 2 |
--> tests/ui-msrv/diagnostic-not-implemented-known-layout.rs:16:26 |
| 3 |
| |
| 4 |
16 | takes_known_layout::<NotZerocopy>(); |
| 5 |
| ^^^^^^^^^^^ the trait `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:19:26 |
| 9 |
| |
| 10 |
19 | fn takes_known_layout<T: KnownLayout>() {} |
| 11 |
| ^^^^^^^^^^^ required by this bound in `takes_known_layout` |