enum_convert 0.2.0

A Rust procedural macro library for deriving automatic conversions between enum variants
Documentation
1
2
3
4
5
6
7
error[E0559]: variant `Target::Stuff` has no field named `nonexistent`
 --> tests/enum_into/compile_fail/field/invalid_target.rs:8:35
  |
8 |         #[enum_into(Target::Stuff.nonexistent)] // Invalid field name
  |                                   ^^^^^^^^^^^ `Target::Stuff` does not have this field
  |
  = note: all struct fields are already assigned