rust/tests/ui/double_neg.stderr

15 lines
300 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:9:5
|
2017-02-08 07:58:07 -06:00
9 | --x;
| ^^^
|
note: lint level defined here
--> $DIR/double_neg.rs:4:8
|
4 | #[deny(double_neg)]
| ^^^^^^^^^^
error: aborting due to previous error