• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: #[arg(default_values_t)] can be used only on Vec types
2
3         = note: see https://github.com/clap-rs/clap/blob/master/examples/derive_ref/README.md#magic-attributes
4
5 --> tests/derive_ui/default_values_t_invalid.rs:6:11
6  |
76 |     #[arg(default_values_t = [1, 2, 3])]
8  |           ^^^^^^^^^^^^^^^^
9