Matthew Maurer | 32e7669 | 2020-06-02 11:15:15 -0700 | [diff] [blame] | 1 | error: `#[structopt(raw(...))` attributes are removed in structopt 0.3, they are replaced with raw methods |
| 2 | |
| 3 | = help: if you meant to call `clap::Arg::raw()` method you should use bool literal, like `raw(true)` or `raw(false)` |
| 4 | = note: if you need to call `clap::Arg/App::case_insensitive` method you can do it like this: #[structopt(case_insensitive = true)] |
| 5 | |
| 6 | --> $DIR/raw.rs:13:17 |
| 7 | | |
| 8 | 13 | #[structopt(raw(case_insensitive = "true"))] |
| 9 | | ^^^ |
| 10 | |
| 11 | error: `#[structopt(raw(...))` attributes are removed in structopt 0.3, they are replaced with raw methods |
| 12 | |
| 13 | = help: if you meant to call `clap::Arg::raw()` method you should use bool literal, like `raw(true)` or `raw(false)` |
| 14 | = note: if you need to call `clap::Arg/App::requires_if` method you can do it like this: #[structopt(requires_if("one", "two"))] |
| 15 | |
| 16 | --> $DIR/raw.rs:19:17 |
| 17 | | |
| 18 | 19 | #[structopt(raw(requires_if = r#""one", "two""#))] |
| 19 | | ^^^ |