Commit Graph

1773 Commits

Author SHA1 Message Date
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 f32s 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
Oliver Schneider
69c796e118
lint on filter(x).map(y), filter(x).flat_map(y), filter_map(x).flat_map(y) 2016-06-21 12:29:44 +02:00
Manish Goregaokar
5b1d849c7e Revert "fix cargo clippy when using with --manifest-path"
This reverts commit b31bebeea4.
2016-06-21 15:24:04 +05:30
Manish Goregaokar
6ee6fe5776 Merge pull request #1028 from oli-obk/manifest_path
fix cargo clippy when using with `--manifest-path`
2016-06-21 10:45:39 +01:00
Oliver Schneider
b31bebeea4
fix cargo clippy when using with --manifest-path 2016-06-21 11:35:34 +02:00
mcarton
3646b30ccf Include restriction lints in the wiki 2016-06-17 13:21:46 +02:00
mcarton
d921dfa2c3 Fix paths in *update_wiki.py* 2016-06-17 12:57:44 +02:00
Martin Carton
cbe7b39dbd Merge pull request #1022 from devonhollowood/extend-iter-nth
Extend iter nth
2016-06-16 23:59:09 +02:00
Devon Hollowood
0e04153a70 Remove uneccessary, leftover comments in lint_iter_mut() 2016-06-16 14:51:16 -07:00
Devon Hollowood
cfa0c5782e Extend iter_nth lint to work with iter_mut() and VecDeque 2016-06-16 14:46:29 -07:00
Devon Hollowood
12bc90d457 Add tests for extend-iter-nth 2016-06-16 14:39:29 -07:00
llogiq
f3397afacb Merge pull request #994 from oli-obk/stuttter
Stuttter lint
2016-06-16 19:00:43 +02:00
Oliver 'ker' Schneider
e628e4d513 allow by default 2016-06-16 18:37:56 +02:00
Martin Carton
4e8c87ad08 Merge pull request #1021 from Manishearth/issue1017
Fix FP with `WHILE_LET_LOOP` and break expressions
2016-06-16 16:30:44 +02:00
mcarton
836554387a
Fix FP with WHILE_LET_LOOP and break expressions 2016-06-16 16:21:11 +02:00