Commit graph

14118 commits

Author SHA1 Message Date
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
Martin Carton
06fd2468b2 Merge pull request #1011 from Manishearth/travis
s/npm install remark/npm install remark-cli
2016-06-13 12:24:06 +02:00
mcarton
b8746901bd s/npm install remark/npm install remark-cli 2016-06-13 12:09:14 +02:00
Martin Carton
a55a960b9e Merge pull request #1004 from Manishearth/rustup
Rustup to *1.11.0-nightly (7d2f75a95 2016-06-09)*
2016-06-10 20:25:25 +02:00
mcarton
17dd0da9da
Bump to 0.0.76 2016-06-10 20:08:56 +02:00
mcarton
350f3a7fe5
Rustup to *1.11.0-nightly (7d2f75a95 2016-06-09)* 2016-06-10 20:08:55 +02:00
Manish Goregaokar
91d922aeb8 Merge pull request #1002 from Manishearth/issues
Add a issue template and specify a *recent* nightly is needed
2016-06-10 17:21:24 +05:30
mcarton
d80436f9f2
Add a issue template and specify a *recent* nightly is needed 2016-06-10 13:47:47 +02:00
Martin Carton
f9b3aebfdf Merge pull request #1000 from Manishearth/doc_whitelist
added GPLv{2,3} to doc-valid-idents
2016-06-10 00:44:52 +02:00
llogiq
4f3d14269e Merge pull request #990 from Manishearth/rustfmt
Cleanup
2016-06-10 00:26:30 +02:00
mcarton
dd99a88289
Dogfood inside if_let_chain! 2016-06-10 00:09:17 +02:00
mcarton
489576437d
Cleanup dependencies and features 2016-06-10 00:09:17 +02:00
mcarton
d85b8062e3
Format all if_let_chain consistently 2016-06-10 00:09:17 +02:00
mcarton
44cb6106a7
Cleanup trailing space 2016-06-10 00:08:14 +02:00
mcarton
11665a0d79
Dogfood 2016-06-10 00:08:14 +02:00
mcarton
90453fd893
Run rustfmt
Only partially apply suggestions.
2016-06-10 00:08:14 +02:00
mcarton
cca6eb2e2b
Cleanup 2016-06-10 00:08:14 +02:00
Andre Bogus
8756ae5082 added GPLv{2,3} to doc-valid-idents 2016-06-10 00:06:50 +02:00
llogiq
e6832317fa Merge pull request #999 from Manishearth/whitelist
Some small fixes
2016-06-10 00:04:50 +02:00
mcarton
e9360f7675
Fix suggestions for REVERSE_RANGE_LOOP 2016-06-09 23:34:19 +02:00
mcarton
3ae39145fc
Fix false-positive in LET_AND_RETURN
If the declaration has a type, it might be required for coercion to
happen.
2016-06-09 23:34:16 +02:00
mcarton
ce2b96abe9
Fix yet another FP in USELESS_LET_IF_SEQ
The block expression before the assignment must be `None`.
2016-06-09 23:33:38 +02:00
mcarton
c5affa2efc
Whitelist Nan in DOC_MARKDOWN 2016-06-09 23:33:28 +02:00
Manish Goregaokar
8e50e500a6 Merge pull request #996 from Manishearth/feature
Automatically defines the `clippy` feature
2016-06-09 00:54:32 -07:00
Manish Goregaokar
8411c5eb4c Merge pull request #997 from carols10cents/include-consts
Include `consts` in the approx_consts lint for easier copypasting
2016-06-08 20:02:44 -07:00
Carol (Nichols || Goulding)
8e1dc0481c Include consts in the approx_consts lint for easier copypasting
If you try to use `f64::PI`, it won't work-- you need to use
`f64::consts::PI`, so suggest that in the lint message.
2016-06-08 19:58:29 -04:00
mcarton
d7ba66bf44
Automatically defines the clippy feature 2016-06-08 21:53:58 +02:00
llogiq
94cc344b07 Merge pull request #993 from Manishearth/rustup
Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*
2016-06-08 12:32:36 +02:00
mcarton
11ea3b8be9
Bump to 0.0.75 2016-06-08 12:23:33 +02:00
mcarton
3415a18feb
Rustup to *1.11.0-nightly (763f9234b 2016-06-06)* 2016-06-08 12:21:50 +02:00
llogiq
f4726c0ad8 Merge pull request #983 from Manishearth/fix-tests
Fix wrong tests and improve some other
2016-06-07 18:42:46 +02:00
mcarton
35a22bc3f4
Bump compiletest_rs to 0.2 2016-06-07 18:33:41 +02:00
mcarton
1f419a2986
Add missing suggestions and help message to tests 2016-06-07 18:33:24 +02:00
mcarton
dd3fd41a03
Use span_suggestion for WHILE_LET_ON_ITERATOR 2016-06-07 18:32:40 +02:00
mcarton
3df32cc723
Fix span in REVERSE_RANGE_LOOP’s suggestion 2016-06-07 17:58:52 +02:00
mcarton
5b09501d61
Fix typo in REVERSE_RANGE_LOOP’s suggestion 2016-06-07 17:49:13 +02:00
mcarton
65c4e391ee Fix wrong tests and improve some other 2016-06-07 17:32:36 +02:00
mcarton
1aab0e6729 Bump to 0.0.74 2016-06-07 12:22:36 +02:00
Martin Carton
e4a5a53c20 Merge pull request #988 from oli-obk/metadata3
simply parse unknown json-strings as strings instead of erroring
2016-06-06 16:54:24 +02:00
Oliver Schneider
8d5524f1da
clippy should work on all systems 2016-06-06 16:43:58 +02:00
Oliver Schneider
a81181b758
don't abort after successfully linting a target 2016-06-06 11:28:09 +02:00
Oliver Schneider
a3f7fea36c
simply parse unknown json-strings as strings instead of erroring 2016-06-06 11:03:15 +02:00
Manish Goregaokar
a2c427470b Merge pull request #986 from Manishearth/disable-wiki-link
Add environment variable to deactivate wiki links
2016-06-06 02:31:28 +05:30
mcarton
a7a6c0461d
Add environment variable to deactivate wiki links 2016-06-05 22:03:02 +02:00