diff --git a/tests/derive_ui/bool_arg_enum.stderr b/tests/derive_ui/bool_arg_enum.stderr index de944a6a..e963b89f 100644 --- a/tests/derive_ui/bool_arg_enum.stderr +++ b/tests/derive_ui/bool_arg_enum.stderr @@ -1,3 +1,17 @@ +warning: use of deprecated variant `clap::ArgAction::IncOccurrence`: Replaced with `ArgAction::SetTrue` or `ArgAction::Count` + --> tests/derive_ui/bool_arg_enum.rs:6:5 + | +6 | #[clap(short, arg_enum)] + | ^ + | + = note: `#[warn(deprecated)]` on by default + +warning: use of deprecated variant `clap::ArgAction::IncOccurrence`: Replaced with `ArgAction::SetTrue` or `ArgAction::Count` + --> tests/derive_ui/bool_arg_enum.rs:6:5 + | +6 | #[clap(short, arg_enum)] + | ^ + error[E0277]: the trait bound `bool: ArgEnum` is not satisfied --> tests/derive_ui/bool_arg_enum.rs:7:11 | @@ -26,8 +40,6 @@ warning: use of deprecated associated function `clap::Arg::<'help>::possible_val | 7 | opts: bool, | ^^^^ - | - = note: `#[warn(deprecated)]` on by default error[E0277]: the trait bound `bool: ArgEnum` is not satisfied --> tests/derive_ui/bool_arg_enum.rs:7:11 @@ -59,9 +71,3 @@ note: required by a bound in `ArgEnum` | | fn to_possible_value<'a>(&self) -> Option>; | | } | |_^ required by this bound in `ArgEnum` - -warning: use of deprecated associated function `clap::Arg::<'help>::possible_values`: Replaced with `Arg::value_parser(PossibleValuesParser::new(...)).takes_value(true)` - --> tests/derive_ui/bool_arg_enum.rs:7:11 - | -7 | opts: bool, - | ^^^^