mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
9e38353442
We aren't enumerating arguments but values for an argument, so the name should reflect that. This will be important as part of #1807 when we have more specific attribute names.
5 lines
171 B
Text
5 lines
171 B
Text
error: `#[derive(ValueEnum)]` only supports non-unit variants, unless they are skipped
|
|
--> tests/derive_ui/value_enum_non_unit.rs:5:5
|
|
|
|
|
5 | Foo(usize),
|
|
| ^^^
|