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
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