error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
  --> $DIR/double_neg.rs:15:5
   |
15 |     --x;
   |     ^^^
   |
   = note: `-D clippy::double-neg` implied by `-D warnings`

error: aborting due to previous error