mirror of
https://github.com/clap-rs/clap
synced 2024-12-12 22:02:35 +00:00
test(derive): Update snapshots
This commit is contained in:
parent
14a62e11fd
commit
11d93141dd
1 changed files with 14 additions and 8 deletions
|
@ -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,
|
||||
| ^^^^
|
||||
|
|
Loading…
Reference in a new issue