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
8
9
10
11
12
13
14
15
error[E0004]: non-exhaustive patterns: `Source::Foo` not covered
 --> tests/enum_from/compile_fail/variant/missing_attribute.rs:7:10
  |
7 | #[derive(EnumFrom)]
  |          ^^^^^^^^ pattern `Source::Foo` not covered
  |
note: `Source` defined here
 --> tests/enum_from/compile_fail/variant/missing_attribute.rs:3:6
  |
3 | enum Source {
  |      ^^^^^^
4 |     Foo,
  |     --- not covered
  = note: the matched value is of type `Source`
  = note: this error originates in the derive macro `EnumFrom` (in Nightly builds, run with -Z macro-backtrace for more info)