Commit graph

7800 commits

Author SHA1 Message Date
mcarton
e922fa80ce
Fix FP in ZERO_PREFIXED_LITERAL and 0b/Oo 2016-08-28 18:00:09 +02:00
Martin Carton
d8a50f5da4 Merge pull request #1201 from Manishearth/rustup
Rustup to a23064af5 2016-08-27 and bump to 0.0.86
2016-08-28 17:32:25 +02:00
mcarton
f3062f4199 Bump to 0.0.86 2016-08-28 17:26:45 +02:00
mcarton
189c5e5cfc
Rustup to rustc 1.13.0-nightly (a23064af5 2016-08-27) 2016-08-28 17:25:58 +02:00
mcarton
e338f6a4f0
Remove now useless attribute type_macros 2016-08-28 17:24:34 +02:00
Pascal Hertleif
816cf56b89 Tweak HTML version of docs with scroll to lints
Uses good old DOM events and wibbly-wobbly timeouts to wait for angular
to render this huge list of lints.

Fixes #1181
2016-08-28 17:04:54 +02:00
Manish Goregaokar
b2aaa2a51c Merge pull request #1191 from Manishearth/misc_refactor
refactored misc to reduce passes
2016-08-25 09:34:05 +05:30
Andre Bogus
06235b0310 refactored misc to reduce passes
related to #1062

Before: 960MB After: 956MB

So while this reduces code size somewhat, I don't see much memory
improvement here. Still, it's probably worthwile to consider reducing
our passes at least within modules.
2016-08-24 21:47:46 +02:00
mcarton
ddf84ea845
Fix typos 2016-08-24 14:37:09 +02:00
llogiq
c67944b3ea Merge pull request #1189 from Manishearth/easy
Add `zero_prefixed_literal` and `missing_docs_in_private_items` lints
2016-08-24 05:55:04 +02:00
mcarton
be329ebdf7
Typo
TIL what `wether` means.
2016-08-23 19:51:42 +02:00
mcarton
8bab4ed1c5
./utils/update_lints.py 2016-08-23 19:45:32 +02:00
mcarton
9a2aadf872
Deny missing_docs_in_private_items in some modules 2016-08-23 19:39:36 +02:00
mcarton
8b12e28e43
in_macro check in MISSING_DOCS_IN_PRIVATE_ITEMS 2016-08-23 19:00:56 +02:00
mcarton
36d8ca04a1
Add a MISSING_DOCS_IN_PRIVATE_ITEMS lint 2016-08-23 18:28:39 +02:00
mcarton
507b626b36 Add zero_prefixed_literal lint 2016-08-23 18:15:12 +02:00
llogiq
cf2b0c8dd6 New cmp_null lint (fixes #1184) (#1186)
* new cmp_null lint (fixes #1184)

* adressed comments (still fails)

* fixed tests, dogfood, ran update_lints
2016-08-22 18:29:29 +02:00
mcarton
0474fe27ea
Bump to 0.0.85 2016-08-19 17:41:24 +02:00
Martin Carton
27255bc213 Merge pull request #1174 from oli-obk/bugfix
don't lint `unused_attribute` if snippet is shorter than 1 character
2016-08-19 17:37:21 +02:00
Oliver Schneider
6dd003ac39
add regression test 2016-08-19 17:31:14 +02:00
Oliver Schneider
14d2cd0b0a
unused_import is a valid lint to be changed on use statements 2016-08-19 17:27:24 +02:00
Oliver Schneider
2d57902a27
don't lint if snippet is shortert than 1 character
This happens with various combinations of cfg attributes and macros expansion.
Not linting here is the safe route, as everything else might produce false positives.
2016-08-19 17:27:24 +02:00
mcarton
663d8497aa
Bump to 0.0.84 2016-08-18 21:51:06 +02:00
Martin Carton
5fff9e4ce5 Merge pull request #1176 from birkenfeld/master
rustup
2016-08-18 21:49:52 +02:00
Georg Brandl
ff919376a6 rustup 2016-08-18 21:24:35 +02:00
Oliver Schneider
7b717d3152
fallout 2016-08-17 18:35:25 +02:00
Oliver Schneider
59c31d319a
plugin mode still needs to work 2016-08-17 18:26:58 +02:00
Oliver Schneider
4c07c0af57 Merge pull request #1173 from oli-obk/never_rustup
rustup for the ! type
2016-08-17 18:10:33 +02:00
Oliver Schneider
e3723cb938
running cargo clippy on a crate that has the clippy plugin enabled errors out due to duplicate lints 2016-08-17 18:09:35 +02:00
Oliver Schneider
0dab78b3e6
unify "test", "bench", "example" and "bin" into one branch 2016-08-17 18:09:35 +02:00
Oliver Schneider
32a0069f67
no println output 2016-08-17 18:09:35 +02:00
Oliver Schneider
6d7269a675
also run clippy on examples 2016-08-17 18:09:35 +02:00
Oliver Schneider
6daa884e4f
version bump and changelog update 2016-08-17 18:07:25 +02:00
Oliver Schneider
40720a61e8
rustup for the ! type 2016-08-17 17:58:15 +02:00
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