Commit graph

1985 commits

Author SHA1 Message Date
Georg Brandl
d1403d2d7c Remove "known problem" that only occurs without MIR.
Since clippy needs nightly, and nightly is MIR-by-default, we can
get rid of the warning.
2016-08-08 13:37:39 +02:00
Georg Brandl
c4dad550f7 Close code block in docstring 2016-08-08 13:34:21 +02:00
llogiq
cdfa8e9f61 Merge pull request #1146 from birkenfeld/housekeeping
Some housekeeping on lint descriptions
2016-08-08 13:27:12 +02:00
Georg Brandl
9a221402e6 Make Python utils more idiomatic, use better names, fix -c mode of update_wiki. 2016-08-07 08:09:26 +02:00
Georg Brandl
b91c1a509e Make lint descriptions short and to the point; always fitting the column "triggers on". 2016-08-07 08:09:26 +02:00
Georg Brandl
3b5ff0f813 Make the lint docstrings more consistent. 2016-08-07 08:06:19 +02:00
Georg Brandl
bc2ecc9623 INDEXING_SLICING should probably be a restriction lint. 2016-08-07 08:05:37 +02:00
Manish Goregaokar
74c7880597 Merge pull request #1145 from birkenfeld/issue-703-2
Lint literal suffixes not separated by underscores (idea also from #703)
2016-08-07 09:57:16 +05:30
Manish Goregaokar
97716b319b Merge pull request #1147 from birkenfeld/issue-1138
Add a configurable threshold for enum variants before name lints trigger
2016-08-07 09:48:54 +05:30
Georg Brandl
fa0df69a97 Add a configurable threshold for enum variants before name lints trigger (fixes #1138) 2016-08-06 20:59:27 +02:00
Georg Brandl
2f8247ada5 Lint literal suffixes not separated by underscores (see #703) 2016-08-05 18:50:23 +02:00
Georg Brandl
ab58331f22 Lint inconsistent casing in hex literals (closes #703) 2016-08-05 18:30:49 +02:00
Manish Goregaokar
78fa1abc93 Merge pull request #1132 from Manishearth/whitelist
added OAuth and TrueType to doc whitelist
2016-08-04 11:03:07 +05:30
Andre Bogus
75b85a55ec added OAuth and TrueType to doc whitelist 2016-08-03 22:49:54 +02:00
Manish Goregaokar
514f77be12 Merge pull request #1131 from JDemler/master
No warning when file is opened with read truncate and write
2016-08-03 09:29:49 +05:30
Jakob Demler
d0fb8d765a No warning when file is opened with read truncate and write 2016-08-02 22:57:32 +02:00
Manish Goregaokar
1a38503211 Merge pull request #1129 from oli-obk/needless_ref
lint on needless ref in patterns
2016-08-01 20:44:04 +05:30
Oliver Schneider
81c5757f44
lint on by ref patterns for references 2016-08-01 16:59:14 +02:00
Oliver Schneider
3464532294 Merge pull request #1126 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (1225e122f 2016-07-30)  and bump to 0.0.80
2016-08-01 15:21:41 +02:00
mcarton
b901e76ffd
Bump to 0.0.80 2016-07-31 19:24:10 +02:00
mcarton
30ec2c4d92
Rustup to rustc 1.12.0-nightly (1225e122f 2016-07-30) 2016-07-31 19:22:07 +02:00
Martin Carton
04c8108e3f Merge pull request #1125 from Manishearth/ipv4
Add `IPv4` and `IPv6` to the valid doc idents list
2016-07-31 01:14:03 +02:00
mcarton
a01d7c93e7
Add IPv4 and IPv6 to the valid doc idents list 2016-07-31 01:07:28 +02:00
mcarton
81b9b2ca85
s/``/``rust when relevant
It looks better on the wiki/the new documentation page.
2016-07-29 20:37:25 +02:00
Manish Goregaokar
0fbb0bf77b Merge pull request #1118 from Manishearth/Manishearth-patch-1
multirust -> rustup (fixes #1117)
2016-07-25 11:17:48 +05:30
Manish Goregaokar
e00f77356b multirust -> rustup (fixes #1117) 2016-07-25 11:17:34 +05:30
llogiq
ca916f1c65 Merge pull request #1113 from oli-obk/assign_op
lint `a += a + b` (possible mis-refactoring of `a = a + b`)
2016-07-20 17:48:38 +02:00
Oliver Schneider
f7f9930b89
update lints 2016-07-20 17:34:58 +02:00
Oliver Schneider
100d381d2b
lint a += a + b (possible mis-refactoring of a = a + b) 2016-07-20 15:29:24 +02:00
Oliver Schneider
3ea9a249bc
get snippets inside the suggestions-closure 2016-07-20 13:29:01 +02:00
mcarton
e3559ec4fc Revert "Maybe fix deploy.sh"
This reverts commit c6c8560861.
2016-07-19 23:08:41 +02:00
mcarton
8587bbe922 Add encryption label to deploy.sh
Aka. “Fix deploy.sh IV”
2016-07-19 23:00:36 +02:00
mcarton
1155925305 Fix deploy.sh III 2016-07-19 22:48:52 +02:00
mcarton
e8c54edfe1 Fix deploy.sh II 2016-07-19 22:42:09 +02:00
mcarton
c6c8560861 Maybe fix deploy.sh 2016-07-19 22:27:39 +02:00
Martin Carton
46ad7d00a2 Merge pull request #1109 from Manishearth/setup-gh-pages
Fix deploy.sh and python2 usage
2016-07-19 22:13:24 +02:00
mcarton
3fab9a8970
Fix deploy.sh and python2 usage 2016-07-19 22:07:39 +02:00
Martin Carton
5cb4fb7076 Merge pull request #1108 from Manishearth/setup-gh-pages
Add `deploy.sh` to `travis.toml`
2016-07-19 21:56:15 +02:00
mcarton
b7df2f8732
Add deploy.sh to travis.toml 2016-07-19 21:52:13 +02:00
Martin Carton
8383e56973 Merge pull request #1107 from Manishearth/setup-gh-pages
Setup gh-pages
2016-07-19 21:49:06 +02:00
mcarton
01c61a714b
Setup automatic push of gh-pages 2016-07-19 21:26:16 +02:00
mcarton
c638e5b679 Merge branch 'feature/gh-pages-docs' of https://github.com/killercup/rust-clippy into killercup-feature/gh-pages-docs 2016-07-19 20:01:10 +02:00
llogiq
a371558bdb Merge pull request #1093 from oli-obk/serde_specific_lint
lint on implementing `visit_string` without also implementing `visit_str`
2016-07-18 11:53:28 +02:00
Oliver Schneider
b4ee9115d8
"fallout" 2016-07-18 11:19:45 +02:00
Oliver Schneider
02c46f057f
add an internal lint that catches misordered paths 2016-07-18 11:19:33 +02:00
mcarton
94fcdadd85 Update README 2016-07-17 13:38:17 +02:00
mcarton
5eced5dc55 Dogfood 2016-07-17 13:33:51 +02:00
Martin Carton
fc2c6cbb08 Merge pull request #1103 from Manishearth/doc-eta
redundant closures don't allocate
2016-07-16 14:55:14 +02:00
Manish Goregaokar
3e13e24ed5
redundant closures don't allocate 2016-07-16 18:25:00 +05:30
mcarton
13a30aed2d
Run ./util/update_lints.py 2016-07-16 00:30:08 +02:00