mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 15:22:30 +00:00
6 lines
169 B
Text
6 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))]
|
||
|
| ^^^^^
|