summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/double_neg.stderr
blob: a4fa1688d577bf2a2410157b45a32d68a4205699 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
  --> $DIR/double_neg.rs:7:5
   |
LL |     --x;
   |     ^^^
   |
   = note: `-D clippy::double-neg` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::double_neg)]`

error: aborting due to 1 previous error