2017-05-17 07:19:44 -05:00
|
|
|
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/double_neg.rs:9:5
|
2017-05-17 07:19:44 -05:00
|
|
|
|
|
|
|
|
9 | --x;
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= note: `-D double-neg` implied by `-D warnings`
|
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to previous error
|
|
|
|
|