This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-12-15 01:55:03 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
101e76f117
rust
/
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 New Issue
Copy Permalink