mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
7 lines
335 B
Text
7 lines
335 B
Text
error[E0277]: the trait bound `bool: ValueEnum` is not satisfied
|
|
--> tests/derive_ui/bool_value_enum.rs:6:30
|
|
|
|
|
6 | #[arg(short, value_enum, default_value_t)]
|
|
| ^^^^^^^^^^^^^^^ the trait `ValueEnum` is not implemented for `bool`
|
|
|
|
|
= help: the trait `ValueEnum` is implemented for `ColorChoice`
|