enum-rotate 0.1.1

Rotate and iterate your enums
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: Struct Struct is not an enum, EnumRotate can only be derived for enums
 --> tests/compilation_failure_tests/non_enum/struct_nonempty.rs:4:1
  |
4 | / struct Struct {
5 | |     field: usize,
6 | | }
  | |_^

error[E0601]: `main` function not found in crate `$CRATE`
 --> tests/compilation_failure_tests/non_enum/struct_nonempty.rs:6:2
  |
6 | }
  |  ^ consider adding a `main` function to `$DIR/tests/compilation_failure_tests/non_enum/struct_nonempty.rs`