blob: 7cdb040b6873937266598277e48d240d796c95ca (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
--> $DIR/double_neg.rs:7:5
|
LL | --x;
| ^^^
|
= note: `-D clippy::double-neg` implied by `-D warnings`
error: aborting due to previous error
|