mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
b52c7f115e
For clap 3, its opt-in as a precaution against breaking compatibility in some weird cases. This does require the types to implement `Clone`. Fixes #3734 Fixes #3496 Fixes #3589
5 lines
248 B
Text
5 lines
248 B
Text
error: `value_parse` attribute conflicts with `parse` attribute
|
|
--> tests/derive_ui/parse_with_value_parser.rs:14:29
|
|
|
|
|
14 | #[clap(parse(from_str), value_parser = clap::value_parser!(String))]
|
|
| ^^^^^^^^^^^^
|