Commit Graph

1561 Commits

Author SHA1 Message Date
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
Oliver Schneider
af98a7ce52
round 3 2016-06-16 12:20:05 +02:00
Oliver Schneider
a976401171
round 2 2016-06-16 12:20:05 +02:00
Oliver Schneider
4701f13551
round 1 2016-06-16 12:20:05 +02:00
Oliver Schneider
7253ce73bb
only lint public stutter namings 2016-06-16 12:17:15 +02:00
Oliver Schneider
8356d2fb21
lint items whose name starts/ends with their enclosing module's name 2016-06-16 12:17:15 +02:00
Oliver Schneider
32894d503e
lint enum variants names that start or end with their enum's name 2016-06-16 12:17:15 +02:00
Oliver Schneider
5726216c9b
Skip for Chars doesn't help us b/c of the ExactSizeIterator bound 2016-06-16 12:17:15 +02:00
Manish Goregaokar
be4a8dd3d9 Merge pull request #1016 from devonhollowood/slice-iter-nth
Suggest `.get()` over `.iter().nth()`
2016-06-16 10:33:48 +01:00
Devon Hollowood
74025be59d Make iter_nth work for Vecs too 2016-06-16 02:04:32 -07:00
Devon Hollowood
7764dc5ef4 Add slice_iter_nth lint 2016-06-16 01:36:11 -07:00
Devon Hollowood
555e4555b1 Add tests for slice_iter_nth 2016-06-16 01:29:03 -07:00
mcarton
e6cbe970c8
Don't use identifier hygiene in HIR 2016-06-15 16:36:22 +02:00