clap/tests/derive_ui/default_values_t_invalid.stderr
Ed Page e030426819 refactor(derive): Remove proc-macro-error dependency
Made things simpler that we were always aborting before.
2023-03-18 07:08:22 -05:00

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