Skip to content

Commit

Permalink
test(derive): Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 8, 2022
1 parent 14a62e1 commit 11d9314
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions 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
|
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
| ^^^^

0 comments on commit 11d9314

Please sign in to comment.