Matthias Krüger
|
0982097e4d
|
remove redundant import
|
2020-03-27 20:47:34 +01:00 |
|
Matthias Krüger
|
8177e49e10
|
rustup https://github.com/rust-lang/rust/pull/70344
|
2020-03-27 20:41:35 +01:00 |
|
ThibsG
|
badfbbbbde
|
Fix single binding in closure
|
2020-03-22 10:31:30 +01:00 |
|
ThibsG
|
40a04f2657
|
Fix match single binding when in a let stmt
|
2020-03-09 16:59:24 +01:00 |
|
ThibsG
|
2aa14c9beb
|
Add restrictive pat use in full binded struct
|
2020-03-04 09:11:07 +01:00 |
|
Yuki Okushi
|
4253aa7137
|
Rustup to rust-lang/rust#69592
|
2020-03-01 12:23:33 +09:00 |
|
flip1995
|
8472ecda0f
|
Fix fallout
|
2020-02-21 11:14:18 +01:00 |
|
Yuki Okushi
|
f4b80394d7
|
Use Vec::with_capacity() as possible
|
2020-02-18 22:37:45 +09:00 |
|
flip1995
|
c7979d3515
|
Fix rebase fallout
|
2020-02-06 19:15:01 +01:00 |
|
flip1995
|
5fd22b3f93
|
Optionally indent snippet_block relative to an Expr
|
2020-02-06 19:13:45 +01:00 |
|
ThibsG
|
00904cb100
|
Manage macros case + move to MaybeIncorrect when binding values
|
2020-02-04 22:54:42 +01:00 |
|
ThibsG
|
b29aacfec8
|
Add wild and struct handling
|
2020-02-04 22:53:24 +01:00 |
|
ThibsG
|
6afd7ea147
|
Use span_lint_and_sugg + move infaillible lint
- moving infaillible lint to prevent collisions
|
2020-02-04 22:49:08 +01:00 |
|
ThibsG
|
3445d41f07
|
Add new lint: match with a single binding statement
- Lint name: MATCH_SINGLE_BINDING
|
2020-02-04 01:06:16 +01:00 |
|
Yuki Okushi
|
f5e86d6894
|
Rename span_note_and_lint to span_lint_and_note
|
2020-01-27 11:26:42 +09:00 |
|
Yuki Okushi
|
f60f12f71f
|
Rename span_help_and_lint to span_lint_and_help
|
2020-01-27 11:17:58 +09:00 |
|
ThibsG
|
44fb8b5e88
|
Extract visitor to utils
|
2020-01-13 16:50:11 +01:00 |
|
ThibsG
|
d3c76b5b2a
|
Change note message
|
2020-01-13 16:25:35 +01:00 |
|
ThibsG
|
95cc500e9d
|
Fix formatting
|
2020-01-13 16:25:35 +01:00 |
|
ThibsG
|
e5c9073f9c
|
Better binding name on Err for note
|
2020-01-13 16:25:35 +01:00 |
|
ThibsG
|
f79c47f28d
|
Match underscore-prefixed variable also
|
2020-01-13 16:25:35 +01:00 |
|
Yuki Okushi
|
ce1c6b285d
|
Rustup to rust-lang/rust#68045
|
2020-01-13 21:55:57 +09:00 |
|
Yuki Okushi
|
3bdf404076
|
Apply review comments
|
2020-01-11 23:21:09 +09:00 |
|
Yuki Okushi
|
39947992b5
|
Rustup to rust-lang/rust#67806
|
2020-01-11 21:50:00 +09:00 |
|
Yuki Okushi
|
10cf141ebb
|
Apply review comments
|
2020-01-11 19:39:43 +09:00 |
|
Yuki Okushi
|
1d7d4e9217
|
Rustup to rust-lang/rust#67258
|
2020-01-11 09:05:51 +09:00 |
|
ThibsG
|
0fa0df9efb
|
Span help without suggestion
|
2020-01-07 19:10:59 +01:00 |
|
ThibsG
|
8ae8b08e32
|
Change lint name to WILDCARD_IN_OR_PATTERNS
|
2020-01-07 18:48:16 +01:00 |
|
ThibsG
|
58deaad42d
|
Handle case for non-exhaustive enums
|
2020-01-07 18:48:16 +01:00 |
|
ThibsG
|
649af71f9e
|
Change group and use only func call
|
2020-01-07 18:48:16 +01:00 |
|
ThibsG
|
8ec32175fa
|
Remove useless parameters in func call
|
2020-01-07 18:48:16 +01:00 |
|
ThibsG
|
96c4198832
|
New lint: pats_with_wild_match_arm
- Wildcard use with other pattern in same match arm
|
2020-01-07 18:48:16 +01:00 |
|
Yuki Okushi
|
5ac08b0cc9
|
Normalize lint messages
|
2020-01-07 18:26:55 +09:00 |
|
Yuki Okushi
|
2f2eaf8b7e
|
Rustup to rust-lang/rust#67886
|
2020-01-07 01:46:33 +09:00 |
|
Philipp Hansch
|
c5178e82b4
|
Rustup to https://github.com/rust-lang/rust/pull/67853
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
2020-01-04 11:30:03 +01:00 |
|
Yuki Okushi
|
e2636729ec
|
Rustup to rust-lang/rust#66936
|
2019-12-27 16:13:53 +09:00 |
|
Daniel Wagner-Hall
|
4f4444c429
|
Remove trailling .s
|
2019-12-22 11:51:39 +00:00 |
|
Daniel Wagner-Hall
|
c21b4ad7d4
|
Update wildcard enum match lint for non_exhaustive enums
|
2019-12-22 02:13:39 +00:00 |
|
Lzu Tao
|
d1ca5f1d7c
|
rustup "Merge ast::Mutability and mir::Mutability "
|
2019-12-21 18:38:45 +00:00 |
|
Matthias Krüger
|
98e433d70d
|
Rustup to rust-lang/rust#66878
|
2019-12-04 01:34:01 +01:00 |
|
Manish Goregaokar
|
341e266508
|
Add BorrowKind::Ref
|
2019-11-27 14:39:28 -08:00 |
|
flip1995
|
d43c424145
|
Rustup to rust-lang/rust#66671
|
2019-11-25 13:18:38 +01:00 |
|
Manish Goregaokar
|
e9a3e54910
|
MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy
|
2019-11-11 10:58:39 -08:00 |
|
flip1995
|
4bbd10a585
|
Rustup to rust-lang/rust#64813
|
2019-09-27 17:21:20 +02:00 |
|
Lzu Tao
|
a7b7e19f49
|
Rustup https://github.com/rust-lang/rust/pull/64513
|
2019-09-26 16:03:36 +07:00 |
|
Manish Goregaokar
|
b5cadd734e
|
ignore single-match for or patterns
|
2019-09-25 13:34:55 -07:00 |
|
Manish Goregaokar
|
982c51e769
|
arm.pats -> arm.pat
|
2019-09-25 12:52:16 -07:00 |
|
Michael Wright
|
23336adf84
|
Fix match_as_ref bad suggestion
Fixes #4437
|
2019-08-25 07:10:45 +02:00 |
|
KRAAI, MATTHEW [VISUS]
|
204b2f3658
|
Remove in_macro_or_desugar
|
2019-08-19 09:30:32 -07:00 |
|
KRAAI, MATTHEW [VISUS]
|
a68abc03a2
|
Remove "a" from single_match_else description
|
2019-08-16 05:41:35 -07:00 |
|