mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
42cb87b4b6
Clarify that only unit variants are fully supported, and that non-unit variants must be skipped.
5 lines
177 B
Text
5 lines
177 B
Text
error: `#[derive(ValueEnum)]` only supports unit variants. Non-unit variants must be skipped
|
|
--> tests/derive_ui/value_enum_non_unit.rs:5:5
|
|
|
|
|
5 | Foo(usize),
|
|
| ^^^
|