This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
rust-clippy
Watch
2
Star
0
Fork
You've already forked rust-clippy
0
mirror of
https://github.com/rust-lang/rust-clippy
synced
2024-11-30 16:39:26 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
d712991917
rust-clippy
/
tests
/
ui
/
double_neg.rs
11 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
Reduce the hackiness of cargo-clippy
2017-09-18 10:47:33 +00:00
new lint: double_neg
2016-06-29 23:00:25 +00:00
Make most tests an `example` so we can run them one by one
2017-05-17 12:19:44 +00:00
#[
warn(double_neg)
]
new lint: double_neg
2016-06-29 23:00:25 +00:00
fn
main
(
)
{
let
x
=
1
;
-
x
;
-
(
-
x
)
;
remove all //~ from tests
2017-02-08 13:58:07 +00:00
-
-
x
;
new lint: double_neg
2016-06-29 23:00:25 +00:00
}
Reference in a new issue
Copy permalink