Commit graph

3539 commits

Author SHA1 Message Date
Martin Carton
502416fa78 Merge pull request #1301 from devonhollowood/wrong-self-convention-fix
Fix false positive for `wrong_self_convention`
2016-10-27 10:38:15 +02:00
Devon Hollowood
3a0d342a33 Fix false positive for wrong_self_convention 2016-10-27 01:11:34 -07:00
mcarton
d52af53e04
Search for clippy.toml recursively 2016-10-25 19:41:24 +02:00
mcarton
ec893a198f
Fix small nits on the help message 2016-10-25 15:09:56 +02:00
Martin Carton
49c2c2c628 Merge pull request #1297 from oli-obk/deep_code_inspection
fix some doc issues for clippy_dump
2016-10-24 17:49:10 +02:00
Oliver Schneider
233459ea33
clean up docs for clippy_dump 2016-10-24 16:30:22 +02:00
mcarton
da943f5ec8
Allow --help to be any argument
Also dogfoog.
2016-10-24 16:29:36 +02:00
mcarton
409b8e7343
Revert "Revert "Automatically defines the clippy feature""
This reverts commit e4dceef7e7.
2016-10-24 16:04:00 +02:00
Oliver Schneider
34deb72c36
properly name the docs 2016-10-24 15:43:37 +02:00
mcarton
4923415930
Be more helping with cargo clippy --help 2016-10-24 15:31:11 +02:00
Oliver Schneider
e132820f8f Merge pull request #1284 from oli-obk/deep_code_inspection
initial implementation of the code inspector lint
2016-10-24 15:29:54 +02:00
Oliver Schneider
ed50cb133d
dogfood 2016-10-24 15:16:21 +02:00
Oliver Schneider
6a6dfa59da
factor out decl dumping 2016-10-24 14:29:09 +02:00
Oliver Schneider
1248159f0d
add expression and pattern dump 2016-10-24 14:28:58 +02:00
Oliver Schneider
f29ab8c245
Merge branch 'master' of github.com:Manishearth/rust-clippy into deep_code_inspection 2016-10-24 10:39:19 +02:00
Oliver Schneider
9fcc04e7df Merge pull request #1288 from Arnavion/fix-1247
Don't assume the first package in the result of `cargo metadata` is the current crate.
2016-10-24 09:25:52 +02:00
Arnavion
604694bc0b Use .expect() for extracting the current_dir. 2016-10-23 12:29:33 -07:00
Arnavion
2315a817ce Changed signature of cargo::metadata according to review comment. 2016-10-23 12:24:16 -07:00
Arnavion
ebbd00b1ab Don't assume the first package in the result of cargo metadata is the current crate.
Instead find the one with the manifest path that matches the --manifest-path argument or the current directory.

Fixes #1247
2016-10-22 18:15:42 -07:00
mcarton
984e15a0c0
Forbid default warnings in dogfood 2016-10-22 16:16:55 +02:00
mcarton
6960c506ef
Fix unused import warning 2016-10-22 16:16:38 +02:00
Martin Carton
5d96558f9f Merge pull request #1287 from Manishearth/rustup
Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)* and bump to 0.0.96
2016-10-22 16:10:18 +02:00
mcarton
ceb50872ce
Bump to 0.0.96 2016-10-22 16:00:17 +02:00
mcarton
1c3fce41b6
Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)* 2016-10-22 15:57:19 +02:00
Oliver Schneider
a177d85681
rename inspection attribute to clippy_dump 2016-10-18 17:29:01 +02:00
Oliver Schneider
ff3efc759e
initial implementation of the code inspector lint 2016-10-18 16:57:39 +02:00
mcarton
4cf87a9d49
Remove the now stable #[feature(question_mark)] 2016-10-16 14:01:55 +02:00
Manish Goregaokar
55e67bfc10 Merge pull request #1278 from d-dorazio/1112
Suggest `nth(X)` instead of `skip(X).next()`
2016-10-14 17:50:51 +05:30
d-dorazio
62831c6e29 Suggest nth(X) instead of skip(X).next() 2016-10-14 13:38:00 +02:00
Patrick Horlebein
4fbd8906e1 doc_markdown: Added "iOS" and "macOS" to the doc-valid-idents list 2016-10-12 15:32:44 +02:00
mcarton
8d0431fd9a
Test for #1275
Close #1275.
2016-10-12 12:00:26 +02:00
Martin Carton
dc91b73d7a Merge pull request #1273 from d-dorazio/1272
Avoid redundant multiple pattern suggested when one pattern is _
2016-10-08 18:07:05 +02:00
d-dorazio
a4d4a372e0 Avoid redundant multiple pattern suggested when one pattern is _ 2016-10-08 16:29:19 +02:00
llogiq
e03c969322 Merge pull request #1268 from Manishearth/1265
Fix FP with `print_with_newline` and final arguments
2016-10-06 23:21:52 +02:00
mcarton
47c2271497
Fix FP with print_with_newline and final arguments 2016-10-06 22:30:03 +02:00
mcarton
a4035aabf3
Bump to 0.0.95 2016-10-06 17:52:41 +02:00
mcarton
fc09eb553e
Fix dogfood problem 2016-10-06 17:50:11 +02:00
mcarton
0475eae1fa
Rustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)* 2016-10-06 17:46:50 +02:00
Martin Carton
e851bc7404 Merge pull request #1257 from KitFreddura/master
If let some lint
2016-10-04 23:00:05 +02:00
Manish Goregaokar
85e37795b9 Merge pull request #1262 from Manishearth/rustup
Remove warning in the latest nightly
2016-10-04 21:04:20 +05:30
mcarton
2b8500664c
Remove warning in the lastest nightly 2016-10-04 17:17:40 +02:00
Manish Goregaokar
ec93ae10e0 Bump to 0.0.94 2016-10-04 09:17:09 +05:30
Manish Goregaokar
7b94ef19bd aux -> auxiliary (breaks Windows) 2016-10-04 09:15:03 +05:30
Martin Carton
9936734cd8 Merge pull request #1246 from Manishearth/rustup
Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)* and bump to 0.0.93
2016-10-03 21:33:08 +02:00
mcarton
1c035f7cf9
Bump to 0.0.93 2016-10-03 21:26:25 +02:00
mcarton
4f91d66905 Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)* 2016-10-03 21:25:27 +02:00
Manish Goregaokar
a4198c1108 Merge pull request #1255 from Manishearth/cov
Improve test coverage
2016-10-03 22:15:23 +05:30
mcarton
6800111c8e
Move all *.toml test files to tests/aux 2016-10-03 17:49:41 +02:00
mcarton
2cd58e40f0
Improve the coverage script 2016-10-03 17:49:05 +02:00
Martin Carton
8d003416a2 Merge pull request #1256 from Manishearth/allow_map_or
Allow option_map_unwrap_or(_else)
2016-10-03 11:32:23 +02:00