This website requires JavaScript.
Explore
Help
Sign In
OpenE2K
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
73e8416df3
rust
/
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 12:47:33 +02:00
new lint: double_neg
2016-06-30 01:00:25 +02:00
Make most tests an `example` so we can run them one by one
2017-05-17 14:19:44 +02:00
#[
warn(double_neg)
]
new lint: double_neg
2016-06-30 01:00:25 +02:00
fn
main
(
)
{
let
x
=
1
;
-
x
;
-
(
-
x
)
;
remove all //~ from tests
2017-02-08 14:58:07 +01:00
-
-
x
;
new lint: double_neg
2016-06-30 01:00:25 +02:00
}
Reference in New Issue
Copy Permalink