mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-26 21:13:31 +00:00
12 lines
292 B
Text
12 lines
292 B
Text
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
|
--> double_neg.rs:9:5
|
|
|
|
|
9 | --x;
|
|
| ^^^
|
|
|
|
|
= note: `-D double-neg` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|