Commit graph

1388 commits

Author SHA1 Message Date
Oliver Schneider
1e897f1552 add a companion lint to no_effect with suggestions for partially effective statements 2016-05-13 16:43:47 +02:00
Oliver Schneider
d4e11acc1f make sure compiletest works on windows 2016-05-13 14:16:08 +02:00
Oliver Schneider
c37300d899 ignore the portability test on 32 bit
it will fail in rustc
2016-05-13 13:45:53 +02:00
Oliver Schneider
86e4216a56 don't check for an exact error message
the system might change it, especially if the system language is changed
2016-05-13 13:45:25 +02:00
Manish Goregaokar
7d4042bc82 Merge pull request #922 from Manishearth/rustup
Rustup to *1.10.0-nightly (22ac88f1a 2016-05-11)*
2016-05-12 13:16:04 -07:00
mcarton
392df9fbc7 Bump to 0.0.67 2016-05-12 21:22:44 +02:00
mcarton
a9bea1f52b
Rustup to *1.10.0-nightly (22ac88f1a 2016-05-11)* 2016-05-12 21:22:38 +02:00
Martin Carton
fe6ad91767 Merge pull request #919 from oli-obk/fix/917
don't suggest closures over constants
2016-05-12 13:09:15 +02:00
Oliver Schneider
610883b7aa
don't suggest closures over constants
fixes #917
2016-05-12 10:23:06 +02:00
llogiq
8fa68f1e08 Merge pull request #913 from oli-obk/assign_ops
suggest `a op= b` over `a = a op b`
2016-05-11 23:36:10 +02:00
llogiq
c170aa262a Merge pull request #915 from Manishearth/sysroot
Use rustc --print sysroot, bump to v66 r? @llogiq
2016-05-11 21:56:52 +02:00
llogiq
f966778770 Merge pull request #914 from oli-obk/non_expressive_names
similar_names fixes
2016-05-11 21:55:38 +02:00
Manish Goregaokar
03a309d182
Use rustc --print sysroot, bump to v66 2016-05-11 11:07:37 -07:00
Oliver Schneider
b0d008bc9d
add known problems 2016-05-11 17:04:27 +02:00
Oliver Schneider
0bef7b5f74
merge struct similar_name test into the general test file 2016-05-11 17:01:34 +02:00
Oliver Schneider
f004120495
properly lint function argument patterns in similar_names 2016-05-11 16:45:06 +02:00
Oliver Schneider
49e2570b77
don't lint at the use-site of bad struct field bindings if they're shorthand
fixes #899
2016-05-11 16:44:43 +02:00
Oliver Schneider
c6b4b19a43
suggest a op= b over a = a op b 2016-05-11 15:32:20 +02:00
llogiq
da122a394b Merge pull request #911 from cuviper/rustup
Support either rustup or multirust environment variables
2016-05-10 23:23:44 +02:00
Josh Stone
11987f5b6f Support either rustup or multirust environment variables
Fixes #910
2016-05-10 13:45:37 -07:00
Manish Goregaokar
855b292cda Merge pull request #681 from oli-obk/split
cargo clippy
2016-05-10 00:41:34 -07:00
Martin Carton
dc75836fe1 Merge pull request #908 from sanxiyn/unused-import
Remove unused imports
2016-05-09 21:20:45 +02:00
Seo Sanghyeon
f227225acd Remove unused imports 2016-05-10 00:35:51 +09:00
Oliver Schneider
654154d8e7
cargo clippy subcommand 2016-05-09 16:47:32 +02:00
Martin Carton
488199d88f Merge pull request #884 from oli-obk/needless_ref2
Add a `needless_borrow` lint
2016-05-09 13:15:33 +02:00
Oliver Schneider
ba8653a8da
fallout 2016-05-09 13:08:00 +02:00
Oliver Schneider
6edc6a13d4
needless borrows found in clippy 2016-05-09 13:07:55 +02:00
Oliver Schneider
87faaec7a3
add needless_borrow lint 2016-05-09 13:07:43 +02:00
Manish Goregaokar
d70e7bb5fc Merge pull request #906 from Manishearth/birkenfeld-master
Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
2016-05-07 21:31:21 -07:00
mcarton
7566484b8a
Bump to 0.0.65 2016-05-08 01:13:14 +02:00
mcarton
aa10c93e8f
Fix tests 2016-05-08 01:13:05 +02:00
llogiq
eb5d87c2f2 Merge pull request #903 from oli-obk/master
use remark-lint to check README.md
2016-05-06 16:53:18 +02:00
Oliver Schneider
3ec1b9a40a
more arguments don't make stuff better 2016-05-06 16:22:17 +02:00
Oliver Schneider
93ae9c32f1
pass full config path to remark 2016-05-06 16:15:10 +02:00
Oliver Schneider
a60d65b5a4
use .remarkrc.json for travis 2016-05-06 16:13:05 +02:00
Oliver Schneider
0a3ab78bde
fix markdown generated from code 2016-05-06 16:09:05 +02:00
Oliver Schneider
6f5c747324
ignore some markdown lints 2016-05-06 16:07:54 +02:00
Oliver Schneider
a159f047dd
fix markdown 2016-05-06 16:07:47 +02:00
Oliver Schneider
fff6ddea2a
fail fast 2016-05-06 15:39:10 +02:00
Oliver Schneider
d1393cfd38
run remark-lint on README.md 2016-05-06 15:32:34 +02:00
llogiq
3c1d3272dd Merge pull request #901 from Manishearth/doc
Fix DOC_MARKDOWN
2016-05-05 22:45:42 +02:00
mcarton
3ce60e9731 Don’t warn in titles in DOC_MARKDOWN 2016-05-05 21:49:57 +02:00
mcarton
cc2774df60 Test previously reported false positive 2016-05-05 21:34:42 +02:00
mcarton
e14e1a7148 Fix issue with DOC_MARKDOWN and punctuation 2016-05-05 21:33:46 +02:00
Georg Brandl
ca743ecb77 rustup: fix breakage in diagnostics API
Also adds a function to add the clippy wiki note, which is used a few times.
2016-05-04 08:54:59 +02:00
Martin Carton
397b940225 Merge pull request #891 from oli-obk/doc_precise_spans
markdown doc lints use exact span
2016-05-02 14:52:43 +02:00
Oliver Schneider
3a32c2c596 doc markdown lint shows the exact word location 2016-05-02 14:36:48 +02:00
Oliver Schneider
365644e9e6 doc markdown lint's span shows the line instead of the item 2016-05-02 14:36:33 +02:00
Manish Goregaokar
f6290b622c Merge branch 'pr-890' 2016-05-02 14:43:11 +05:30
Oliver Schneider
ee35c3722a similar_names should be allow-by-default 2016-05-02 10:53:09 +02:00