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