clap/tests/derive_ui/default_value_t_invalid.stderr
2022-05-25 13:13:22 -05:00

7 lines
297 B
Text

error[E0600]: cannot apply unary operator `-` to type `u32`
--> $DIR/default_value_t_invalid.rs:14:44
|
14 | #[clap(value_parser, default_value_t = -10)]
| ^^^ cannot apply unary operator `-`
|
= note: unsigned values cannot be negated