Commit graph

4100 commits

Author SHA1 Message Date
Manish Goregaokar
fc9f2b99c7 Merge pull request #1235 from Manishearth/transmute_ptr_to_ref-suggs
Fix wrong suggestion in `TRANSMUTE_PTR_TO_REF` with lts
2016-09-19 22:02:47 +05:30
Martin Carton
9963a2c78c Merge pull request #1171 from oli-obk/examples
also run clippy on examples, tests and benchmarks
2016-09-19 18:30:24 +02:00
mcarton
f74dcaac0c
Fix wrong suggestion in TRANSMUTE_PTR_TO_REF with lts 2016-09-19 17:59:12 +02:00
Oliver Schneider
c89c5d21c1
Merge remote-tracking branch 'origin/master' into examples 2016-09-19 15:38:38 +02:00
mcarton
5f1120b346
Fix markup in SINGLE_CHAR_PATTERN documentation 2016-09-18 18:27:08 +02:00
Martin Carton
25b0396a57 Merge pull request #1233 from l1048576/master
Fix typo in example codes of "match" lints
2016-09-18 13:28:55 +02:00
Takuma YOSHIOKA
7b6a60ca69
Fix typo in example codes of "matches" lints
Use `=>` for match arms (instead of wrong `->`).
2016-09-18 20:17:25 +09:00
Manish Goregaokar
b8b3eb9bf1 Merge pull request #1229 from Manishearth/loops
Fix #1188
2016-09-16 19:39:58 +05:30
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