mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Auto merge of #12130 - weirane:let-else-let-match, r=weirane
Turn let-else statements into let and match Fixes #11906.
This commit is contained in:
commit
187bd7d48a
3 changed files with 519 additions and 0 deletions
|
@ -117,6 +117,7 @@ mod handlers {
|
|||
mod convert_integer_literal;
|
||||
mod convert_into_to_from;
|
||||
mod convert_iter_for_each_to_for;
|
||||
mod convert_let_else_to_match;
|
||||
mod convert_tuple_struct_to_named_struct;
|
||||
mod convert_to_guarded_return;
|
||||
mod convert_while_to_loop;
|
||||
|
@ -206,6 +207,7 @@ mod handlers {
|
|||
convert_into_to_from::convert_into_to_from,
|
||||
convert_iter_for_each_to_for::convert_iter_for_each_to_for,
|
||||
convert_iter_for_each_to_for::convert_for_loop_with_for_each,
|
||||
convert_let_else_to_match::convert_let_else_to_match,
|
||||
convert_to_guarded_return::convert_to_guarded_return,
|
||||
convert_tuple_struct_to_named_struct::convert_tuple_struct_to_named_struct,
|
||||
convert_while_to_loop::convert_while_to_loop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue