mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 15:22:30 +00:00
e030426819
Made things simpler that we were always aborting before.
8 lines
308 B
Text
8 lines
308 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])]
|
|
| ^^^^^^^^^^^^^^^^
|