mcarton
|
c6604bb281
|
Add a lint to warn about call to .*or(foo(..))
|
2016-01-16 18:47:45 +01:00 |
|
mcarton
|
387e0991e3
|
Handle more iterator adapter cases in for loops
|
2016-01-14 20:58:32 +01:00 |
|
mcarton
|
f63329761f
|
Cleanup utils, mostly doc
|
2016-01-13 17:27:49 +01:00 |
|
mcarton
|
09129c1b41
|
Add BTreeMap to the HASHMAP_ENTRY rule
Fixes #433
|
2016-01-13 17:27:36 +01:00 |
|
mcarton
|
9f641a1009
|
Add known enums to SINGLE_MATCH
|
2016-01-13 01:19:27 +01:00 |
|
Manish Goregaokar
|
c9342d0121
|
fmt clippy
|
2016-01-04 09:56:12 +05:30 |
|
mcarton
|
54b70ed8e1
|
Move eq_op::is_exp_equal to utils
|
2016-01-03 17:04:08 +01:00 |
|
mcarton
|
0c6e385493
|
Implement a HashMapLint
|
2016-01-03 17:04:08 +01:00 |
|
Manish Goregaokar
|
a745efd566
|
Add smarter macro check for block_in_if (fixes #528)
|
2016-01-02 21:41:53 +05:30 |
|
Manish Goregaokar
|
1605ef6ed4
|
Rustup to syntax::errors changes
|
2016-01-02 16:10:15 +05:30 |
|
Devon Hollowood
|
29b53d600f
|
Replace match_method_chain() with method_chain_args()
|
2015-12-27 14:15:09 -08:00 |
|
Devon Hollowood
|
f1aac931bd
|
Refactor check_expr() impl for MethodsPass
|
2015-12-27 01:22:53 -08:00 |
|
mcarton
|
592ca26e90
|
Fix #518
|
2015-12-23 22:37:52 +01:00 |
|
mcarton
|
0e4259a827
|
Remove duplicated if_let_chain! macro definition
|
2015-12-22 00:48:50 +01:00 |
|
Seo Sanghyeon
|
213c15cd66
|
Add span_lint_and_then and use it
|
2015-12-09 02:46:14 +09:00 |
|
Seo Sanghyeon
|
35b5c3efdd
|
Use suggestion for redundant_closure
|
2015-12-08 15:03:01 +09:00 |
|
Manish Goregaokar
|
e8686a3ecd
|
Merge branch 'pr-482'
|
2015-12-07 07:23:52 -05:00 |
|
Guillaume Gomez
|
72117836f1
|
Add check on redundant _ bindings in structs
|
2015-12-07 13:16:59 +01:00 |
|
Manish Goregaokar
|
c4e9982dd7
|
Merge pull request #481 from fhartwig/lifetime-with-alias
Make unneeded_lifetimes lint work properly with type aliases
|
2015-12-06 09:08:40 +05:30 |
|
Florian Hartwig
|
ac39dc290b
|
Remove obsolete workaround
|
2015-12-06 02:05:32 +01:00 |
|
Oliver Schneider
|
617c820e6b
|
compute cyclomatic complexity (adjusted to not punish Rust's match )
|
2015-12-03 16:41:55 +01:00 |
|
Seo Sanghyeon
|
b17e38782e
|
Remove trailing commas in match arms with blocks
|
2015-11-17 13:39:42 +09:00 |
|
llogiq
|
a0cd8fc943
|
match .map(Clone::clone)
|
2015-11-05 17:11:41 +01:00 |
|
wartman4404
|
764eedd050
|
check for Deref conversions
|
2015-11-03 21:11:40 -06:00 |
|
Florian Hartwig
|
c5b6fda399
|
Allow needless_lifetime to pass dogfood.sh
|
2015-10-27 18:28:36 +01:00 |
|
Florian Hartwig
|
5ca7ebb6d2
|
Fix false positives when iterator variable is used after the loop
|
2015-10-26 23:57:55 +01:00 |
|
Manish Goregaokar
|
dea087dd17
|
Merge branch 'pr-394'
|
2015-10-18 00:54:03 +05:30 |
|
Florian Gilcher
|
8063916477
|
Cleanup as discussed in PR
|
2015-10-17 20:16:54 +02:00 |
|
Manish Goregaokar
|
853368c1d3
|
Make is_from_for_desugar sound (rust/28973 got fixed)
|
2015-10-17 04:33:05 +05:30 |
|
Andre Bogus
|
cf1e83b6dc
|
Merged #365
|
2015-10-14 12:22:57 +02:00 |
|
Andre Bogus
|
949c3545ce
|
Merged #366
|
2015-10-14 12:06:28 +02:00 |
|
Alex Burka
|
3632b93d7a
|
fix doc comment for if_let_chain!
|
2015-10-12 01:54:44 -04:00 |
|
Manish Goregaokar
|
4e2b09831b
|
Rust upgrade to rustc 1.5.0-nightly (9d3e79ad3 2015-10-10)
|
2015-10-12 02:42:59 +05:30 |
|
Pyriphlegethon
|
7644f8e2a1
|
Add "nonsensical OpenOptions" lint
|
2015-10-07 13:46:51 +02:00 |
|
Florian Hartwig
|
f8aa0431bd
|
Suggest using an atomic value instead of a Mutex where possible
|
2015-10-07 01:35:14 +02:00 |
|
Manish Goregaokar
|
7eb0896271
|
Merge pull request #351 from Wafflespeanut/while_let
Training the `while_let` detector...
|
2015-10-01 01:14:45 +05:30 |
|
Ravi Shankar
|
185da55263
|
extending while_let to warn for more statements
|
2015-09-29 20:26:34 +05:30 |
|
Manish Goregaokar
|
15e3774cb4
|
rustup to 1.5.0-nightly (7bf4c885f 2015-09-26)
fixes #348
|
2015-09-28 10:34:10 +05:30 |
|
Pietro Monteiro
|
b2c66d1a0e
|
Upgrade Rust to rustc 1.5.0-nightly (b2f379cdc 2015-09-23)
Ident was removed in many HIR structures in favor of Name.
|
2015-09-23 17:30:39 -07:00 |
|
Manish Goregaokar
|
f4da7d09d2
|
Upgrade Rust to rustc 1.5.0-nightly (cff041170 2015-09-17)
LintPass was split and ExprParen was removed from the HIR
Fixes #338
|
2015-09-19 08:23:04 +05:30 |
|
llogiq
|
862c195fa1
|
Merge pull request #337 from Manishearth/indentfix
fix indentation
|
2015-09-17 07:44:39 +02:00 |
|
Georg Brandl
|
58fee220a9
|
fix indentation
|
2015-09-17 07:27:23 +02:00 |
|
Manish Goregaokar
|
3124d2b8df
|
Rustup to rustc 1.5.0-nightly (fc4d566b4 2015-09-16)
fixes #334
|
2015-09-17 05:32:29 +05:30 |
|
Nathan Weston
|
1e320b38c1
|
Add is_integer_literal utility function
Replaces is_lit_zero and is_lit_one which were used in a couple of
places.
|
2015-09-15 09:41:25 -04:00 |
|
Andre Bogus
|
468b410d04
|
de-closured the item name getter
|
2015-09-06 21:03:09 +02:00 |
|
Andre Bogus
|
87e6099ad7
|
fix false positive len_zero in is_empty()
|
2015-09-06 20:57:06 +02:00 |
|
Andre Bogus
|
54393f0ef5
|
More strict macro check
|
2015-09-06 10:53:55 +02:00 |
|
Manish Goregaokar
|
eca185438b
|
Update rust to 0efb9dab8c7c07fa28e9df0eccc5c07ea3c17fbb (HIR+lints, Thu Sep 3 18:59:56 2015 +0530)
fixes #294
|
2015-09-03 23:12:19 +05:30 |
|
llogiq
|
0fb7d1d2d9
|
reporting improvements
|
2015-09-02 08:19:47 +02:00 |
|
Georg Brandl
|
b72ef5a173
|
new lint: loop-match-break, which could be while-let (fixes #118)
|
2015-08-30 12:40:39 +02:00 |
|