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