whichever 0.7.1

Implements a trait for an enum by forwarding to whichever variant it holds
Documentation
1
2
3
4
5
error: a dispatch struct needs a field to forward to
  --> tests/ui/unit_struct.rs:16:8
   |
16 | struct Unit;
   |        ^^^^