num_enum 0.7.6

Procedural macros to make inter-operation between primitives and enums easier.
Documentation
1
2
3
4
5
error: Only literals are allowed as num_enum alternate values
 --> tests/try_build/compile_fail/alternative_exprs.rs:7:39
  |
7 |     #[num_enum(alternatives = [-1, 2, THREE])]
  |                                       ^^^^^