mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
11 lines
257 B
Plaintext
11 lines
257 B
Plaintext
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
|
|
--> $DIR/double_neg.rs:6:5
|
|
|
|
|
LL | --x;
|
|
| ^^^
|
|
|
|
|
= note: `-D clippy::double-neg` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|