error[E0277]: `Message` does not implement `Messages`
--> tests/compile_fail/coverage_without_derive.rs:9:21
|
9 | let _ = harness.coverage();
| ^^^^^^^^ unsatisfied trait bound
|
help: the trait `icedwright_types::messages::Messages` is not implemented for `Message`
--> tests/compile_fail/coverage_without_derive.rs:4:1
|
4 | enum Message {
| ^^^^^^^^^^^^
= note: add `#[derive(icedwright_probe::Messages)]` to the message enum
note: required by a bound in `icedwright::Harness::<P>::coverage`
--> src/harness/mod.rs
|
| pub fn coverage(&self) -> MessageCoverage<P::Message>
| -------- required by a bound in this associated function
| where
| P::Message: Messages,
| ^^^^^^^^ required by this bound in `Harness::<P>::coverage`