into_variant 0.3.0

Easily convert your types into the corresponding enum variant
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0119]: conflicting implementations of trait `into_variant::IntoVariant<_>` for type `D`
  --> tests_error/conflicting_impls.rs:14:10
   |
9  | #[derive(VariantFrom)]
   |          ----------- first implementation here
...
14 | #[derive(VariantFrom)]
   |          ^^^^^^^^^^^ conflicting implementation for `D`
   |
   = note: this error originates in the derive macro `VariantFrom` (in Nightly builds, run with -Z macro-backtrace for more info)