Commit graph

1766 commits

Author SHA1 Message Date
llogiq
c4b37236ba Merge pull request #1170 from Manishearth/travis-gh-pages
Fix Travis not pushing gh-pages for tags
2016-08-17 17:26:00 +02:00
Manish Goregaokar
46267c0964 Merge pull request #1172 from Manishearth/changelog
Add missing lints to CHANGELOG
2016-08-17 20:48:02 +05:30
mcarton
4ca16c8564 Add missing lints to CHANGELOG 2016-08-17 17:13:28 +02:00
mcarton
a34beedfe5 Add "DirectX" and "OpenGL" to doc_valid_idents 2016-08-17 15:46:33 +02:00
mcarton
495f4bbf9f Fix Travis not pushing gh-pages for tags
Turns out $TRAVIS_BRANCH is the tag name for tags.
2016-08-17 15:25:21 +02:00
Oliver Schneider
e5e2db7113 Merge pull request #1168 from oli-obk/useless_lint_attributes
disallow lint attributes on `use` and `extern crate` items
2016-08-17 12:23:31 +02:00
Oliver Schneider
3ab6ad59c4
disallow lint attributes on use and extern crate items 2016-08-17 11:36:04 +02:00
Oliver Schneider
ac16695757 Merge pull request #1143 from birkenfeld/issue-455
Lint print!("...\n") (closes #455)
2016-08-17 11:33:32 +02:00
Manish Goregaokar
3cf82da1ea Merge pull request #1167 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (197be89f3 2016-08-15)
2016-08-17 09:24:28 +05:30
Manish Goregaokar
f006805c4a
Bump to 0.0.82 2016-08-17 09:20:20 +05:30
Sascha Hanse
9aa7701262 make clippy compile again with the latest nightly after rust-lang/rust@65eb024542 2016-08-17 00:21:58 +02:00
Georg Brandl
ffad9a8c8c Lint print!("...\n") (closes #455) 2016-08-16 20:52:48 +02:00
llogiq
909efec275 Merge pull request #1164 from oli-obk/module_inception
lint modules that have the same name as their parent module
2016-08-16 15:02:18 +02:00
Oliver Schneider
b6f320a495
address nits and improve docs 2016-08-16 14:36:48 +02:00
Oliver Schneider
7ee4a9a659
lint modules that have the same name as their parent module 2016-08-16 14:29:21 +02:00
Manish Goregaokar
e12f14f676
Bump to 0.0.81 2016-08-14 09:13:19 +05:30
Manish Goregaokar
e83eac5f42 Merge pull request #1162 from dtolnay/up
Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12)
2016-08-14 09:00:23 +05:30
David Tolnay
95df2d1bf4
Update to rustc 1.12.0-nightly (1deb02ea6 2016-08-12) 2016-08-13 14:23:38 -07:00
Oliver Schneider
4aae2b60bc Merge pull request #1158 from scurest/evalorder
Add lint for reads and writes that depend on evaluation order
2016-08-11 13:41:32 +02:00
scurest
b0a96def09 Add lint for reads and writes that depend on evaluation order 2016-08-11 06:01:40 -05:00
llogiq
ce3be22021 Merge pull request #1151 from oli-obk/clone_ref
add suggestions to clone_on_copy
2016-08-09 06:30:25 +02:00
llogiq
8ac99162ea Merge pull request #1152 from oli-obk/wrong_self_conv_fn_level
enable changing wrong_self_convention's lint level at the function level
2016-08-08 21:13:16 +02:00
Manish Goregaokar
4b8f6a0b0f Merge pull request #1154 from oli-obk/no_dogfood_for_travis
don't run clippy on itself twice in travis
2016-08-08 21:48:29 +05:30
Manish Goregaokar
610615b33d Merge pull request #1153 from oli-obk/too_many_extern_fn_args
extern fns often need to adhere to a specific api -> don't suggest api changes
2016-08-08 21:26:00 +05:30
Oliver Schneider
afc95a11ec
travis bump 2016-08-08 17:53:07 +02:00
Oliver Schneider
9207c44bd2
also cache files in clippy_lints, necessary for testing cargo-clippy 2016-08-08 17:45:54 +02:00
Oliver Schneider
dec3250ad6
don't run clippy on itself twice in travis 2016-08-08 17:33:41 +02:00
Oliver Schneider
331afc3246
extern fns often need to adhere to a specific api -> don't suggest api-changes 2016-08-08 17:21:47 +02:00
Oliver Schneider
49f276ec6f
enable changing wrong_self_convention's lint level at the function level 2016-08-08 17:09:36 +02:00
Oliver Schneider
7e67f447ce
add suggestions to clone_on_copy
also:

* don't report clone_on_copy when reporting clone_on_double_ref
* don't suggest `((x))`
2016-08-08 16:43:45 +02:00
Manish Goregaokar
ac5abcf593 Merge pull request #1150 from birkenfeld/remove-warning
Remove "known problem" that only occurs without MIR.
2016-08-08 17:19:59 +05:30
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