into_variant 0.3.0

Easily convert your types into the corresponding enum variant
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: Unexpected annotation: only `into_variant(skip)` is supported
 --> tests_error/invalid_annotation.rs:6:5
  |
6 |     #[into_variant]
  |     ^

error: Unexpected annotation: only `into_variant(skip)` is supported
  --> tests_error/invalid_annotation.rs:14:5
   |
14 |     #[into_variant(Skip)]
   |     ^

error: Unexpected annotation: only `into_variant(skip)` is supported
  --> tests_error/invalid_annotation.rs:22:5
   |
22 |     #[into_variant()]
   |     ^