num_enum 0.5.7

Procedural macros to make inter-operation between primitives and enums easier.
Documentation
1
2
3
4
5
6
7
error: Missing `#[repr({Integer})]` attribute
 --> $DIR/missing_repr.rs:1:10
  |
1 | #[derive(num_enum::IntoPrimitive)]
  |          ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the derive macro `num_enum::IntoPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)