test(derive): Update snapshots

This commit is contained in:
Ed Page 2022-06-08 09:56:57 -05:00
parent 14a62e11fd
commit 11d93141dd

View file

@ -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<PossibleValue<'a>>;
| | }
| |_^ 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,
| ^^^^