mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 18:28:48 +00:00
3390adf0d3
While at it, this cleans up all of the features. For some reason, I couldn't do `dep:clap_derive` though.
8 lines
313 B
Text
8 lines
313 B
Text
error: #[clap(default_values_t)] can be used only on Vec types
|
|
|
|
= note: see https://github.com/clap-rs/clap/blob/master/examples/derive_ref/README.md#magic-attributes
|
|
|
|
--> tests/derive_ui/default_values_t_invalid.rs:6:12
|
|
|
|
|
6 | #[clap(default_values_t = [1, 2, 3])]
|
|
| ^^^^^^^^^^^^^^^^
|