blob: 93b5e38db56d0ee60c80e427d19668273659a90c [file] [log] [blame]
Matthew Maurer32e76692020-06-02 11:15:15 -07001error: `#[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 |
813 | #[structopt(raw(case_insensitive = "true"))]
9 | ^^^
10
11error: `#[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 |
1819 | #[structopt(raw(requires_if = r#""one", "two""#))]
19 | ^^^