]>
git.lizzy.rs Git - rust.git/log
mcarton [Thu, 1 Sep 2016 13:42:57 +0000 (15:42 +0200)]
Fix CHANGELOG misdescription of #1207
mcarton [Thu, 1 Sep 2016 11:38:31 +0000 (13:38 +0200)]
Fix typo in CHANGELOG
mcarton [Thu, 1 Sep 2016 11:31:03 +0000 (13:31 +0200)]
Update CHANGELOG
kennytm [Thu, 1 Sep 2016 07:07:37 +0000 (15:07 +0800)]
Added a lint_without_lint_pass lint.
Four lints were missing from LintPass, making them unavailable unless the
`clippy` lint group is explicitly enabled:
* `for_loop_over_result`
* `for_loop_over_option`
* `match_overlapping_arm`
* `filter_next`
Martin Carton [Wed, 31 Aug 2016 16:28:41 +0000 (18:28 +0200)]
Merge pull request #1204 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (
eac41469d 2016-08-30)* and bump to 0.0.87
mcarton [Wed, 31 Aug 2016 16:19:00 +0000 (18:19 +0200)]
Bump to 0.0.87
mcarton [Tue, 30 Aug 2016 15:26:57 +0000 (17:26 +0200)]
Remove all `union` stuffs
The rustc's PR wasn't merged. Hopefully this commit can simply be reverted when it's time.
mcarton [Sun, 28 Aug 2016 17:43:55 +0000 (19:43 +0200)]
Support unions here and there
mcarton [Sun, 28 Aug 2016 17:15:14 +0000 (19:15 +0200)]
Remove temporary fix now unneeded
mcarton [Sun, 28 Aug 2016 15:54:32 +0000 (17:54 +0200)]
Rustup to *1.13.0-nightly (
eac41469d 2016-08-30)*
Martin Carton [Mon, 29 Aug 2016 12:19:08 +0000 (14:19 +0200)]
Merge pull request #1200 from killercup/feature/gh-pages-fixes
Tweak HTML version of docs with scroll to lints
Pascal Hertleif [Sun, 28 Aug 2016 19:08:14 +0000 (21:08 +0200)]
Actually scroll lint panels into view
The trick to writing horrible hacks such as this is to recognize angular
as a technology stack that may be endearing to some as one can do easy
stuff quickly. But fundamentally, it is built on top of crazy shit.
Like: Yes, I just wrote a directive that for some reason automatically
has access to the scope of the repeated item, and fires an event each
time the last `np-repeat` item was seen (delayed by one render loop
cycle, of course). And – obviously – when defining the directive it is
in camelCase but when using it in the template it has to by in
dash-case.
Great times.
llogiq [Sun, 28 Aug 2016 18:37:28 +0000 (20:37 +0200)]
Merge pull request #1199 from Manishearth/shadow-builtin
Add a `builtin_type_shadow` lint
mcarton [Sat, 27 Aug 2016 23:52:01 +0000 (01:52 +0200)]
Add a `builtin_type_shadow` lint
Martin Carton [Sun, 28 Aug 2016 16:04:03 +0000 (18:04 +0200)]
Merge pull request #1203 from Manishearth/octal
Fix FP in `ZERO_PREFIXED_LITERAL` and `0b`/`Oo`
mcarton [Sun, 28 Aug 2016 15:59:01 +0000 (17:59 +0200)]
Fix FP in `ZERO_PREFIXED_LITERAL` and `0b`/`Oo`
Martin Carton [Sun, 28 Aug 2016 15:32:25 +0000 (17:32 +0200)]
Merge pull request #1201 from Manishearth/rustup
Rustup to
a23064af5 2016-08-27 and bump to 0.0.86
mcarton [Sun, 28 Aug 2016 15:26:45 +0000 (17:26 +0200)]
Bump to 0.0.86
mcarton [Sun, 28 Aug 2016 15:25:41 +0000 (17:25 +0200)]
Rustup to rustc 1.13.0-nightly (
a23064af5 2016-08-27)
mcarton [Sun, 28 Aug 2016 15:24:19 +0000 (17:24 +0200)]
Remove now useless attribute `type_macros`
Pascal Hertleif [Sun, 28 Aug 2016 15:04:54 +0000 (17:04 +0200)]
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
Manish Goregaokar [Thu, 25 Aug 2016 04:04:05 +0000 (09:34 +0530)]
Merge pull request #1191 from Manishearth/misc_refactor
refactored misc to reduce passes
Andre Bogus [Wed, 24 Aug 2016 19:47:46 +0000 (21:47 +0200)]
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.
mcarton [Wed, 24 Aug 2016 12:37:09 +0000 (14:37 +0200)]
Fix typos
llogiq [Wed, 24 Aug 2016 03:55:04 +0000 (05:55 +0200)]
Merge pull request #1189 from Manishearth/easy
Add `zero_prefixed_literal` and `missing_docs_in_private_items` lints
mcarton [Tue, 23 Aug 2016 17:51:12 +0000 (19:51 +0200)]
Typo
TIL what `wether` means.
mcarton [Tue, 23 Aug 2016 17:45:15 +0000 (19:45 +0200)]
./utils/update_lints.py
mcarton [Tue, 23 Aug 2016 17:39:36 +0000 (19:39 +0200)]
Deny `missing_docs_in_private_items` in some modules
mcarton [Tue, 23 Aug 2016 17:00:56 +0000 (19:00 +0200)]
`in_macro` check in `MISSING_DOCS_IN_PRIVATE_ITEMS`
mcarton [Tue, 23 Aug 2016 16:09:37 +0000 (18:09 +0200)]
Add a `MISSING_DOCS_IN_PRIVATE_ITEMS` lint
mcarton [Sat, 20 Aug 2016 16:11:15 +0000 (18:11 +0200)]
Add `zero_prefixed_literal` lint
llogiq [Mon, 22 Aug 2016 16:29:29 +0000 (18:29 +0200)]
New cmp_null lint (fixes #1184) (#1186)
* new cmp_null lint (fixes #1184)
* adressed comments (still fails)
* fixed tests, dogfood, ran update_lints
mcarton [Fri, 19 Aug 2016 15:41:24 +0000 (17:41 +0200)]
Bump to 0.0.85
Martin Carton [Fri, 19 Aug 2016 15:37:21 +0000 (17:37 +0200)]
Merge pull request #1174 from oli-obk/bugfix
don't lint `unused_attribute` if snippet is shorter than 1 character
Oliver Schneider [Fri, 19 Aug 2016 15:31:14 +0000 (17:31 +0200)]
add regression test
Oliver Schneider [Thu, 18 Aug 2016 11:07:47 +0000 (13:07 +0200)]
`unused_import` is a valid lint to be changed on `use` statements
Oliver Schneider [Thu, 18 Aug 2016 09:08:35 +0000 (11:08 +0200)]
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.
mcarton [Thu, 18 Aug 2016 19:51:06 +0000 (21:51 +0200)]
Bump to 0.0.84
Martin Carton [Thu, 18 Aug 2016 19:49:52 +0000 (21:49 +0200)]
Merge pull request #1176 from birkenfeld/master
rustup
Georg Brandl [Thu, 18 Aug 2016 18:36:42 +0000 (20:36 +0200)]
rustup
Oliver Schneider [Wed, 17 Aug 2016 16:10:33 +0000 (18:10 +0200)]
Merge pull request #1173 from oli-obk/never_rustup
rustup for the ! type
Oliver Schneider [Wed, 17 Aug 2016 16:07:25 +0000 (18:07 +0200)]
version bump and changelog update
Oliver Schneider [Wed, 17 Aug 2016 15:58:15 +0000 (17:58 +0200)]
rustup for the ! type
llogiq [Wed, 17 Aug 2016 15:26:00 +0000 (17:26 +0200)]
Merge pull request #1170 from Manishearth/travis-gh-pages
Fix Travis not pushing gh-pages for tags
Manish Goregaokar [Wed, 17 Aug 2016 15:18:02 +0000 (20:48 +0530)]
Merge pull request #1172 from Manishearth/changelog
Add missing lints to CHANGELOG
mcarton [Wed, 17 Aug 2016 15:13:28 +0000 (17:13 +0200)]
Add missing lints to CHANGELOG
mcarton [Wed, 17 Aug 2016 13:42:02 +0000 (15:42 +0200)]
Add "DirectX" and "OpenGL" to `doc_valid_idents`
mcarton [Wed, 17 Aug 2016 13:25:21 +0000 (15:25 +0200)]
Fix Travis not pushing gh-pages for tags
Turns out $TRAVIS_BRANCH is the tag name for tags.
Oliver Schneider [Wed, 17 Aug 2016 10:23:31 +0000 (12:23 +0200)]
Merge pull request #1168 from oli-obk/useless_lint_attributes
disallow lint attributes on `use` and `extern crate` items
Oliver Schneider [Wed, 17 Aug 2016 09:36:04 +0000 (11:36 +0200)]
disallow lint attributes on `use` and `extern crate` items
Oliver Schneider [Wed, 17 Aug 2016 09:33:32 +0000 (11:33 +0200)]
Merge pull request #1143 from birkenfeld/issue-455
Lint print!("...\n") (closes #455)
Manish Goregaokar [Wed, 17 Aug 2016 03:54:28 +0000 (09:24 +0530)]
Merge pull request #1167 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (
197be89f3 2016-08-15)
Manish Goregaokar [Wed, 17 Aug 2016 03:48:15 +0000 (09:18 +0530)]
Bump to 0.0.82
Sascha Hanse [Tue, 16 Aug 2016 22:21:58 +0000 (00:21 +0200)]
make clippy compile again with the latest nightly after rust-lang/rust@
65eb024542835c0235c31ef0e2381d155c797b03
Georg Brandl [Fri, 5 Aug 2016 15:52:58 +0000 (17:52 +0200)]
Lint print!("...\n") (closes #455)
llogiq [Tue, 16 Aug 2016 13:02:18 +0000 (15:02 +0200)]
Merge pull request #1164 from oli-obk/module_inception
lint modules that have the same name as their parent module
Oliver Schneider [Tue, 16 Aug 2016 12:36:48 +0000 (14:36 +0200)]
address nits and improve docs
Oliver Schneider [Tue, 16 Aug 2016 12:29:21 +0000 (14:29 +0200)]
lint modules that have the same name as their parent module
Manish Goregaokar [Sun, 14 Aug 2016 03:43:19 +0000 (09:13 +0530)]
Bump to 0.0.81
Manish Goregaokar [Sun, 14 Aug 2016 03:30:23 +0000 (09:00 +0530)]
Merge pull request #1162 from dtolnay/up
Update to rustc 1.12.0-nightly (
1deb02ea6 2016-08-12)
David Tolnay [Sat, 13 Aug 2016 21:23:38 +0000 (14:23 -0700)]
Update to rustc 1.12.0-nightly (
1deb02ea6 2016-08-12)
Oliver Schneider [Thu, 11 Aug 2016 11:41:32 +0000 (13:41 +0200)]
Merge pull request #1158 from scurest/evalorder
Add lint for reads and writes that depend on evaluation order
scurest [Thu, 11 Aug 2016 03:16:28 +0000 (22:16 -0500)]
Add lint for reads and writes that depend on evaluation order
llogiq [Tue, 9 Aug 2016 04:30:25 +0000 (06:30 +0200)]
Merge pull request #1151 from oli-obk/clone_ref
add suggestions to clone_on_copy
llogiq [Mon, 8 Aug 2016 19:13:16 +0000 (21:13 +0200)]
Merge pull request #1152 from oli-obk/wrong_self_conv_fn_level
enable changing wrong_self_convention's lint level at the function level
Manish Goregaokar [Mon, 8 Aug 2016 16:18:29 +0000 (21:48 +0530)]
Merge pull request #1154 from oli-obk/no_dogfood_for_travis
don't run clippy on itself twice in travis
Manish Goregaokar [Mon, 8 Aug 2016 15:56:00 +0000 (21:26 +0530)]
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
Oliver Schneider [Mon, 8 Aug 2016 15:53:07 +0000 (17:53 +0200)]
travis bump
Oliver Schneider [Mon, 8 Aug 2016 15:45:54 +0000 (17:45 +0200)]
also cache files in clippy_lints, necessary for testing cargo-clippy
Oliver Schneider [Mon, 8 Aug 2016 15:33:41 +0000 (17:33 +0200)]
don't run clippy on itself twice in travis
Oliver Schneider [Mon, 8 Aug 2016 15:21:47 +0000 (17:21 +0200)]
extern fns often need to adhere to a specific api -> don't suggest api-changes
Oliver Schneider [Mon, 8 Aug 2016 15:09:36 +0000 (17:09 +0200)]
enable changing wrong_self_convention's lint level at the function level
Oliver Schneider [Mon, 8 Aug 2016 14:43:45 +0000 (16:43 +0200)]
add suggestions to clone_on_copy
also:
* don't report clone_on_copy when reporting clone_on_double_ref
* don't suggest `((x))`
Manish Goregaokar [Mon, 8 Aug 2016 11:49:59 +0000 (17:19 +0530)]
Merge pull request #1150 from birkenfeld/remove-warning
Remove "known problem" that only occurs without MIR.
Georg Brandl [Mon, 8 Aug 2016 11:37:39 +0000 (13:37 +0200)]
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.
Georg Brandl [Mon, 8 Aug 2016 11:34:21 +0000 (13:34 +0200)]
Close code block in docstring
llogiq [Mon, 8 Aug 2016 11:27:12 +0000 (13:27 +0200)]
Merge pull request #1146 from birkenfeld/housekeeping
Some housekeeping on lint descriptions
Georg Brandl [Sat, 6 Aug 2016 08:40:35 +0000 (10:40 +0200)]
Make Python utils more idiomatic, use better names, fix -c mode of update_wiki.
Georg Brandl [Sat, 6 Aug 2016 08:18:36 +0000 (10:18 +0200)]
Make lint descriptions short and to the point; always fitting the column "triggers on".
Georg Brandl [Sat, 6 Aug 2016 07:55:04 +0000 (09:55 +0200)]
Make the lint docstrings more consistent.
Georg Brandl [Sat, 6 Aug 2016 06:56:28 +0000 (08:56 +0200)]
INDEXING_SLICING should probably be a restriction lint.
Manish Goregaokar [Sun, 7 Aug 2016 04:27:16 +0000 (09:57 +0530)]
Merge pull request #1145 from birkenfeld/issue-703-2
Lint literal suffixes not separated by underscores (idea also from #703)
Manish Goregaokar [Sun, 7 Aug 2016 04:18:54 +0000 (09:48 +0530)]
Merge pull request #1147 from birkenfeld/issue-1138
Add a configurable threshold for enum variants before name lints trigger
Georg Brandl [Sat, 6 Aug 2016 18:59:27 +0000 (20:59 +0200)]
Add a configurable threshold for enum variants before name lints trigger (fixes #1138)
Georg Brandl [Fri, 5 Aug 2016 16:50:02 +0000 (18:50 +0200)]
Lint literal suffixes not separated by underscores (see #703)
Georg Brandl [Fri, 5 Aug 2016 16:30:07 +0000 (18:30 +0200)]
Lint inconsistent casing in hex literals (closes #703)
Manish Goregaokar [Thu, 4 Aug 2016 05:33:07 +0000 (11:03 +0530)]
Merge pull request #1132 from Manishearth/whitelist
added OAuth and TrueType to doc whitelist
Andre Bogus [Wed, 3 Aug 2016 20:49:54 +0000 (22:49 +0200)]
added OAuth and TrueType to doc whitelist
Manish Goregaokar [Wed, 3 Aug 2016 03:59:49 +0000 (09:29 +0530)]
Merge pull request #1131 from JDemler/master
No warning when file is opened with read truncate and write
Jakob Demler [Tue, 2 Aug 2016 20:57:32 +0000 (22:57 +0200)]
No warning when file is opened with read truncate and write
Manish Goregaokar [Mon, 1 Aug 2016 15:14:04 +0000 (20:44 +0530)]
Merge pull request #1129 from oli-obk/needless_ref
lint on needless ref in patterns
Oliver Schneider [Mon, 1 Aug 2016 14:59:14 +0000 (16:59 +0200)]
lint on by ref patterns for references
Oliver Schneider [Mon, 1 Aug 2016 13:21:41 +0000 (15:21 +0200)]
Merge pull request #1126 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (
1225e122f 2016-07-30) and bump to 0.0.80
mcarton [Sun, 31 Jul 2016 17:23:59 +0000 (19:23 +0200)]
Bump to 0.0.80
mcarton [Sun, 31 Jul 2016 17:22:07 +0000 (19:22 +0200)]
Rustup to rustc 1.12.0-nightly (
1225e122f 2016-07-30)
Martin Carton [Sat, 30 Jul 2016 23:14:03 +0000 (01:14 +0200)]
Merge pull request #1125 from Manishearth/ipv4
Add `IPv4` and `IPv6` to the valid doc idents list
mcarton [Sat, 30 Jul 2016 23:07:28 +0000 (01:07 +0200)]
Add `IPv4` and `IPv6` to the valid doc idents list
mcarton [Fri, 29 Jul 2016 18:36:33 +0000 (20:36 +0200)]
s/```/```rust when relevant
It looks better on the wiki/the new documentation page.
Manish Goregaokar [Mon, 25 Jul 2016 05:47:48 +0000 (11:17 +0530)]
Merge pull request #1118 from Manishearth/Manishearth-patch-1
multirust -> rustup (fixes #1117)
Manish Goregaokar [Mon, 25 Jul 2016 05:47:34 +0000 (11:17 +0530)]
multirust -> rustup (fixes #1117)