rust/tests/ui/double_neg.stderr

11 lines
257 B
Plaintext
Raw Normal View History

error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
--> $DIR/double_neg.rs:6:5
2018-10-07 00:18:06 +08:00
|
2018-12-27 23:57:55 +08:00
LL | --x;
2018-10-07 00:18:06 +08:00
| ^^^
|
= note: `-D clippy::double-neg` implied by `-D warnings`
2018-01-17 00:06:27 +08:00
error: aborting due to previous error