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-12-22 11:03:16 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
61aa5c957c
rust-clippy
/
tests
/
ui
/
double_neg.rs
8 lines
85 B
Rust
Raw
Normal View
History
Unescape
Escape
Adapt ui-tests to the tool_lints
2018-07-28 15:34:52 +00:00
#[
warn(clippy::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