Commit graph

2642 commits

Author SHA1 Message Date
mcarton
c8986b4676
Fix FP with WHILE_LET_ON_ITERATOR and refutable pats 2016-09-16 15:50:35 +02:00
mcarton
90c390ec2a
Fix typo
Who cares? Meh, consistency.
2016-09-16 15:45:19 +02:00
Manish Goregaokar
766217f9ac Merge pull request #1227 from Manishearth/readme_improvements
List lints at the end of the readme
2016-09-15 22:18:52 +05:30
Oliver Schneider
b778269f54 List lints at the end of the readme 2016-09-15 17:19:30 +02:00
Martin Carton
dc84759ac5 Merge pull request #1224 from oli-obk/divergence
lint diverging expressions that are sub-expressions of others
2016-09-13 15:58:31 +02:00
Oliver Schneider
9427a4ae80
also test match statements, return, continue and break 2016-09-13 14:52:21 +02:00
Oliver Schneider
e6bfe4b514
also lint diverging methods 2016-09-13 12:41:37 +02:00
Oliver Schneider
a2257280ec
don't lint expressions referencing ! objects, just expressions creating them 2016-09-13 12:41:20 +02:00
Oliver Schneider
05e734b555 Merge pull request #1223 from oli-obk/use_your_token_to_figure_out_if_you_are_in_reality
Let the submodule `#[allow]` in `module_inception`
2016-09-13 11:35:54 +02:00
Oliver Schneider
40ce3a8f1c
add tests for stutter lints 2016-09-13 10:20:10 +02:00
Oliver Schneider
12a82b2007
also lint private modules for module_inception, as that is the main issue 2016-09-13 10:19:55 +02:00
Oliver Schneider
f469860dc2
lint diverging expressions that are sub-expressions of others 2016-09-12 14:24:11 +02:00
Oliver Schneider
03fa974855
Let the submodule #[allow] in module_inception 2016-09-12 10:30:42 +02:00
mcarton
8216036193
Add test for #[allow(module_inception)] on the inner module 2016-09-12 10:11:48 +02:00
mcarton
cb49e4e210
Update CHANGELOG 2016-09-10 19:22:29 +02:00
Martin Carton
defa497a04 Merge pull request #1221 from Manishearth/rustup
Rustup *1.13.0-nightly (f1f40f850 2016-09-09)* and bump to 0.0.90
2016-09-10 19:18:29 +02:00
mcarton
7279dc3edf
Bump to 0.0.90 2016-09-10 19:13:55 +02:00
mcarton
ab6669a641
Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)* 2016-09-10 19:13:49 +02:00
mcarton
b08c7aa553
Remove EOL space 2016-09-09 20:24:15 +02:00
Martin Carton
7e12546a60 Merge pull request #1217 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)* and bump to 0.0.89
2016-09-06 19:12:28 +02:00
mcarton
9263ec3616
Bump to 0.0.89 2016-09-06 19:05:53 +02:00
mcarton
c090c3df21
Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)* 2016-09-06 19:04:38 +02:00
Martin Carton
8bd14f6c3c Merge pull request #1215 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (70598e04f 2016-09-03)* and bump to 0.0.88
2016-09-04 17:55:46 +02:00
mcarton
e9ba9ec1a2
Bump to 0.0.88 2016-09-04 17:50:14 +02:00
mcarton
b82f43f38e
Revert "Remove all union stuffs"
This reverts commit 888c34ad70.
This rustups to rustc 1.13.0-nightly (70598e04f 2016-09-03).
2016-09-04 17:45:36 +02:00
llogiq
322c1a07ef Merge pull request #1210 from Manishearth/len_without_is_empty
Len without is empty
2016-09-02 22:04:28 +02:00
mcarton
b2de244cfd
Restrict len_without_is_empty to exported items 2016-09-02 15:30:06 +02:00
mcarton
943e9b5aeb
Fix CHANGELOG misdescription of #1207 2016-09-01 15:43:54 +02:00
mcarton
9c736dc23f
Fix typo in CHANGELOG 2016-09-01 13:38:41 +02:00
mcarton
8d231b22a1
Update CHANGELOG 2016-09-01 13:31:03 +02:00
kennytm
5f09020e90 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`
2016-09-01 15:07:37 +08:00
Martin Carton
7684a2ed65 Merge pull request #1204 from Manishearth/rustup
Rustup to *rustc 1.13.0-nightly (eac41469d 2016-08-30)* and bump to 0.0.87
2016-08-31 18:28:41 +02:00
mcarton
377fec7c9a
Bump to 0.0.87 2016-08-31 18:22:36 +02:00
mcarton
888c34ad70
Remove all union stuffs
The rustc's PR wasn't merged. Hopefully this commit can simply be reverted when it's time.
2016-08-31 18:22:36 +02:00
mcarton
01424f5622
Support unions here and there 2016-08-31 18:22:36 +02:00
mcarton
ee3f3bf260
Remove temporary fix now unneeded 2016-08-31 18:22:36 +02:00
mcarton
3f43996aa5
Rustup to *1.13.0-nightly (eac41469d 2016-08-30)* 2016-08-31 18:22:35 +02:00
Martin Carton
b38a86a145 Merge pull request #1200 from killercup/feature/gh-pages-fixes
Tweak HTML version of docs with scroll to lints
2016-08-29 14:19:08 +02:00
Pascal Hertleif
3e2bb3fd81 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.
2016-08-28 21:11:02 +02:00
llogiq
c54457ccf3 Merge pull request #1199 from Manishearth/shadow-builtin
Add a `builtin_type_shadow` lint
2016-08-28 20:37:28 +02:00
mcarton
d87f137254
Add a builtin_type_shadow lint 2016-08-28 19:56:18 +02:00
Martin Carton
39d4a1b323 Merge pull request #1203 from Manishearth/octal
Fix FP in `ZERO_PREFIXED_LITERAL` and `0b`/`Oo`
2016-08-28 18:04:03 +02:00
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