mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
7 lines
297 B
Text
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
|