This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e3084cc085
rust
/
tests
/
ui
/
double_neg.rs
11 lines
117 B
Rust
Raw
Normal View
History
Unescape
Escape
new lint: double_neg
2016-06-29 18:00:25 -05:00
#![
feature(plugin)
]
#![
plugin(clippy)
]
#[
deny(double_neg)
]
fn
main
(
)
{
let
x
=
1
;
-
x
;
-
(
-
x
)
;
remove all //~ from tests
2017-02-08 07:58:07 -06:00
-
-
x
;
new lint: double_neg
2016-06-29 18:00:25 -05:00
}
Reference in New Issue
Copy Permalink