mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
b190a6a817
This reduces the need for us to have `clap` as a dependency in `clap_derive`, preparing the way to fix #15.
19 lines
855 B
Text
19 lines
855 B
Text
error: `#[clap(raw(...))` attributes are removed, they are replaced with raw methods
|
|
|
|
= help: if you meant to call `clap::Arg::raw()` method you should use bool literal, like `raw(true)` or `raw(false)`
|
|
= note: if you need to call `clap::Arg/App::ignore_case` method you can do it like this: #[clap(ignore_case = true)]
|
|
|
|
--> $DIR/raw.rs:13:12
|
|
|
|
|
13 | #[clap(raw(ignore_case = "true"))]
|
|
| ^^^
|
|
|
|
error: `#[clap(raw(...))` attributes are removed, they are replaced with raw methods
|
|
|
|
= help: if you meant to call `clap::Arg::raw()` method you should use bool literal, like `raw(true)` or `raw(false)`
|
|
= note: if you need to call `clap::Arg/App::requires_if` method you can do it like this: #[clap(requires_if("one", "two"))]
|
|
|
|
--> $DIR/raw.rs:19:12
|
|
|
|
|
19 | #[clap(raw(requires_if = r#""one", "two""#))]
|
|
| ^^^
|