whichever 0.7.1

Implements a trait for an enum by forwarding to whichever variant it holds
Documentation
error[E0277]: the trait bound `B: Value` is not satisfied
  --> tests/ui/missing_impl.rs:18:7
   |
18 |     B(B),
   |       ^ unsatisfied trait bound
   |
help: the trait `Value` is not implemented for `B`
  --> tests/ui/missing_impl.rs:7:1
   |
 7 | struct B;
   | ^^^^^^^^
help: the following other types implement trait `Value`
  --> tests/ui/missing_impl.rs:9:1
   |
 9 | impl Value for A {
   | ^^^^^^^^^^^^^^^^ `A`
...
15 | #[whichever::dispatch(Value)]
   |                       ----- in this macro invocation
16 | enum Kind {
   |      ^^^^ `Kind`
   = note: this error originates in the macro `::whichever::__private::implement` which comes from the expansion of the macro `Value` (in Nightly builds, run with -Z macro-backtrace for more info)