index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
tools
/
clippy
/
tests
/
ui
/
double_neg.rs
blob: d47dfcb5ba1eab1b8654a2c270700748923a4bee (
plain
)
1
2
3
4
5
6
7
#[warn(clippy::double_neg)] fn main() { let x = 1; -x; -(-x); --x; }