clap/tests/derive_ui/default_values_t_invalid.stderr

9 lines
310 B
Text
Raw Normal View History

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])]
| ^^^^^^^^^^^^^^^^