rust-clippy/tests/ui/double_neg.stderr

11 lines
258 B
Text
Raw Normal View History

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