mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
8 lines
310 B
Text
8 lines
310 B
Text
error: #[arg(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:11
|
|
|
|
|
6 | #[arg(default_values_t = [1, 2, 3])]
|
|
| ^^^^^^^^^^^^^^^^
|