enumchar 0.1.2

Rust derive macro for enums where each variant is represented by a single char
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: EnumChar can only be used with enums
 --> tests/errors/struct.rs:8:12
  |
8 | pub struct S {}
  |            ^

error[E0601]: `main` function not found in crate `$CRATE`
 --> tests/errors/struct.rs:8:16
  |
8 | pub struct S {}
  |                ^ consider adding a `main` function to `$DIR/tests/errors/struct.rs`