mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
8 lines
204 B
Text
8 lines
204 B
Text
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
|
--> $DIR/double_neg.rs:9:5
|
|
|
|
|
9 | --x;
|
|
| ^^^
|
|
|
|
|
= note: `-D double-neg` implied by `-D warnings`
|
|
|