2017-05-17 12:19:44 +00:00
|
|
|
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/double_neg.rs:9:5
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
9 | --x;
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= note: `-D double-neg` implied by `-D warnings`
|
|
|
|
|