mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
10 lines
258 B
Text
10 lines
258 B
Text
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
|
--> $DIR/double_neg.rs:15:5
|
|
|
|
|
LL | --x;
|
|
| ^^^
|
|
|
|
|
= note: `-D clippy::double-neg` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|