mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
19 lines
870 B
Text
19 lines
870 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::case_insensitive` method you can do it like this: #[clap(case_insensitive = true)]
|
|
|
|
--> $DIR/raw.rs:13:12
|
|
|
|
|
13 | #[clap(raw(case_insensitive = "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""#))]
|
|
| ^^^
|