mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 16:47:21 +00:00
7 lines
278 B
Text
7 lines
278 B
Text
error[E0600]: cannot apply unary operator `-` to type `u32`
|
|
--> tests/derive_ui/default_value_t_invalid.rs:14:29
|
|
|
|
|
14 | #[arg(default_value_t = -10)]
|
|
| ^^^ cannot apply unary operator `-`
|
|
|
|
|
= note: unsigned values cannot be negated
|