mcarton
ea76ac5562
Make COLLAPSIBLE_IF
consider if let
2016-06-29 17:09:39 +02:00
mcarton
f6ba217c1c
Small cleanup
2016-06-29 17:09:39 +02:00
mcarton
f37c9adbd9
Make CollapsibleIf
an EarlyLintPass
...
It doesn't need any `hir` feature and `ast` is much more stable.
2016-06-29 17:09:39 +02:00
mcarton
7fa38f6787
Fix FP with mut_mut
and for
loops
2016-06-29 17:09:39 +02:00
Oliver Schneider
5f6b982bc9
Merge pull request #1057 from Manishearth/1055
...
Revert "Automatically defines the `clippy` feature"
2016-06-29 14:54:19 +02:00
mcarton
e4dceef7e7
Revert "Automatically defines the clippy
feature"
...
This reverts commit d7ba66bf44f993e64114e17cc15f1b0d56ae8f70.
It was causing problems with crates with:
```rust
#![cfg_attr(feature="clippy", plugin(clippy))]
```
2016-06-29 14:29:25 +02:00
Oliver Schneider
9ceb708727
Merge pull request #1053 from oli-obk/char_float_transmute
...
lint on unnecessary and plain wrong transmutes
2016-06-28 14:50:39 +02:00
Oliver Schneider
e06bc37477
lint on unnecessary and plain wrong transmutes
2016-06-28 14:08:08 +02:00
Oliver Schneider
9742b5bec3
Merge pull request #1050 from Manishearth/fx-1049
...
Add parentheses when necessary in transmute suggestion (fixes #1049 )
2016-06-28 10:58:31 +02:00
Manish Goregaokar
cdce78a4be
Add parentheses when necessary in transmute suggestion ( fixes #1049 )
2016-06-28 14:03:46 +05:30
Manish Goregaokar
910a62444c
Merge pull request #1048 from Manishearth/Manishearth-patch-1
...
readme formatting nit
2016-06-27 21:08:36 +05:30
Manish Goregaokar
f4115f104e
readme formatting nit
2016-06-27 21:08:16 +05:30
llogiq
5aea20da7f
Merge pull request #1046 from oli-obk/unify_span_lint_usage
...
use span_lint_and_then instead of adding to the `DiagnosticWrapper`
2016-06-27 17:20:03 +02:00
llogiq
8f6e32d921
Merge pull request #1045 from oli-obk/more_transmutes
...
lint transmuting references to pointer
2016-06-27 17:17:14 +02:00
Oliver Schneider
799861d7e0
use span_lint_and_then instead of adding to the DiagnosticWrapper
2016-06-27 17:14:04 +02:00
Oliver Schneider
a469ee1061
lint transmuting references to pointers
2016-06-27 16:12:48 +02:00
Oliver Schneider
083c57867a
refactor transmute lints into a single match
2016-06-27 13:46:21 +02:00
Oliver Schneider
60cc87baba
Merge pull request #1041 from oli-obk/procedural
...
don't depend on regex_macros anymore
2016-06-26 14:13:24 +02:00
Oliver 'ker' Schneider
2e86eb88f3
rename mini-macro to clippy-mini-macro-test
2016-06-26 13:26:30 +02:00
Manish Goregaokar
e43d1d78cd
Merge pull request #1042 from oli-obk/raw_pointers
...
don't lint on comparing `*const f32`s
2016-06-26 03:58:17 +05:30
Oliver 'ker' Schneider
8c5e617c9a
don't lint on comparing *const f32
s
2016-06-25 18:59:37 +02:00
Oliver 'ker' Schneider
d57192d5c1
don't depend on regex_macros anymore
2016-06-25 18:12:29 +02:00
Manish Goregaokar
e25d732750
Merge pull request #1038 from Manishearth/oli-obk-patch-2
...
add myself to Cargo.toml authors
2016-06-25 18:46:29 +05:30
Oliver Schneider
bf4c4294bf
add myself to Cargo.toml authors
2016-06-25 15:05:29 +02:00
Manish Goregaokar
22cc9b05f5
Merge pull request #1036 from bestouff/patch-1
...
Suggest Rust nightly
2016-06-24 18:31:02 +05:30
Xavier Bestel
a8e185646b
*latest* nightly
2016-06-24 14:55:17 +02:00
Xavier Bestel
eeb847ada8
Suggest Rust nightly
...
Add one line to suggest that clippy won't compile with Rust stable.
2016-06-24 14:41:58 +02:00
Manish Goregaokar
39c2e4677e
Merge pull request #1034 from Manishearth/travis_cache
...
try out cache: cargo with travis
2016-06-24 11:27:02 +05:30
Andre Bogus
edf3262500
try out cache: cargo with travis
2016-06-24 07:20:33 +02:00
Martin Carton
2cea1eef41
Merge pull request #1031 from oli-obk/travis2pointOH
...
speed up travis by not recompiling clippy just to test `cargo clippy`
2016-06-22 15:12:58 +02:00
Oliver Schneider
ba33fd0a3a
pass the path to the correct command
2016-06-22 14:37:08 +02:00
llogiq
f81d253c07
Merge pull request #995 from oli-obk/oh_the_horror
...
lint on `filter(x).map(y)`, `filter(x).flat_map(y)`, `filter_map(x).flat_map(y)`
2016-06-22 13:06:12 +02:00
Oliver Schneider
262148c946
update lint doc text
2016-06-22 13:03:59 +02:00
Oliver Schneider
5ccbf3d437
unify the lints
2016-06-22 10:44:46 +02:00
Oliver Schneider
94eb901336
add cargo/bin to PATH
2016-06-22 10:37:08 +02:00
Oliver Schneider
490030647d
create missing cargo directory
2016-06-22 10:36:18 +02:00
Martin Carton
294aeaf4b3
Merge pull request #1012 from Manishearth/nohyg
...
Don't use identifier hygiene in HIR
2016-06-21 21:23:39 +02:00
Oliver Schneider
b34cdc7a79
speed up travis by not recompiling clippy just to test cargo clippy
2016-06-21 17:20:08 +02:00
mcarton
92c02bd4af
Bump to 0.0.77
2016-06-21 16:36:44 +02:00
Oliver Schneider
ac6e7b2957
fix tests
2016-06-21 14:46:02 +02:00
Oliver Schneider
415ddfb630
lint message nits
2016-06-21 14:41:16 +02:00
Oliver Schneider
8bfb31ee97
doc nits
2016-06-21 14:39:56 +02:00
Oliver Schneider
f5dfcd694b
fallout2
2016-06-21 13:51:44 +02:00
Oliver Schneider
48a5f8446d
fallout
2016-06-21 13:49:08 +02:00
Oliver Schneider
eef439cb78
add tests
2016-06-21 13:48:56 +02:00
Oliver Schneider
77e2155778
update lints
2016-06-21 13:32:34 +02:00
Oliver Schneider
4e52852146
create a lint for each of the messages
2016-06-21 13:04:50 +02:00
Manish Goregaokar
78686c82cb
Merge pull request #1029 from oli-obk/manifest2
...
fix cargo clippy when using with `--manifest-path`
2016-06-21 11:47:38 +01:00
Oliver Schneider
44c30ca543
fix tests
2016-06-21 12:35:49 +02:00
Oliver Schneider
36c5026c48
fix cargo clippy when using with --manifest-path
2016-06-21 12:31:30 +02:00