clap/tests/derive_ui/struct_parse.stderr
Ed Page b190a6a817 test: Consolidate clap tests
This reduces the need for us to have `clap` as a dependency in
`clap_derive`, preparing the way to fix #15.
2021-11-30 10:07:08 -06:00

5 lines
169 B
Text

error: `parse` attribute is only allowed on fields
--> $DIR/struct_parse.rs:12:24
|
12 | #[clap(name = "basic", parse(from_str))]
| ^^^^^