enum_ids 0.7.0

Generate a companion ID enum and an associated getter method for the annotated enum
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: Cannot parse attribute "unknown": Unknown attribute "unknown"
 --> src/tests/ui/compile_fail/invalid_attr.rs:3:12
  |
3 | #[enum_ids(unknown = "value")]
  |            ^^^^^^^

error[E0433]: failed to resolve: use of undeclared type `Kind`
  --> src/tests/ui/compile_fail/invalid_attr.rs:11:13
   |
11 |     let _ = Kind::A(1);
   |             ^^^^ use of undeclared type `Kind`