clap/tests/derive_ui/non_existent_attr.stderr

19 lines
839 B
Text

warning: use of deprecated associated function `clap::ArgMatches::is_present`: Replaced with either `ArgMatches::contains_id(...)` or `ArgAction::SetTrue`
--> tests/derive_ui/non_existent_attr.rs:15:12
|
15 | debug: bool,
| ^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated associated function `clap::ArgMatches::is_present`: Replaced with either `ArgMatches::contains_id(...)` or `ArgAction::SetTrue`
--> tests/derive_ui/non_existent_attr.rs:15:12
|
15 | debug: bool,
| ^^^^
error[E0599]: no method named `non_existing_attribute` found for struct `Arg` in the current scope
--> tests/derive_ui/non_existent_attr.rs:14:19
|
14 | #[clap(short, non_existing_attribute = 1)]
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Arg<'_>`