2022-07-21 22:07:42 +00:00
|
|
|
error[E0277]: the trait bound `bool: ValueEnum` is not satisfied
|
2022-07-22 14:19:14 +00:00
|
|
|
--> tests/derive_ui/bool_value_enum.rs:6:31
|
2022-06-02 17:48:52 +00:00
|
|
|
|
|
2022-06-13 22:04:50 +00:00
|
|
|
6 | #[clap(short, value_enum, default_value_t)]
|
2022-07-21 22:07:42 +00:00
|
|
|
| ^^^^^^^^^^^^^^^ the trait `ValueEnum` is not implemented for `bool`
|
2022-06-02 17:48:52 +00:00
|
|
|
|
|
2022-06-13 22:04:50 +00:00
|
|
|
note: required by `to_possible_value`
|
2022-06-02 17:48:52 +00:00
|
|
|
--> src/derive.rs
|
|
|
|
|
|
2022-06-13 22:04:50 +00:00
|
|
|
| fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|