rust/crates
bors[bot] 51d85e1060
Merge #9454
9454: feat: Empower `replace_if_let_with_match` r=Veykril a=Veykril

Now instead of only working on `if let ... {} else {}` if expressions it now works on all of them where the condition expression is the same text-wise.

This includes if let expressions without an else block, in which case a simple `_ => ()` will be generated in the resulting match but also in more complex cases where multiple `if let` expressions are chained.

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-07-01 22:24:17 +00:00
..
base_db Don't implement Eq for CrateGraph 2021-07-01 14:10:57 +03:00
cfg Improve completion of cfg attributes 2021-06-21 17:47:00 +01:00
flycheck Use package root as cargo check working directory 2021-05-12 19:50:52 -07:00
hir Mark (method-)calls with never type as exit points 2021-06-23 17:21:47 +02:00
hir_def Merge #9431 2021-07-01 18:25:06 +00:00
hir_expand Resolve attribute paths in attribute highlighting 2021-06-28 21:53:17 +02:00
hir_ty Implement TypeRef::ForLifetime 2021-06-30 01:34:54 +02:00
ide Merge #9452 2021-07-01 22:12:53 +00:00
ide_assists Merge #9454 2021-07-01 22:24:17 +00:00
ide_completion Merge #9398 2021-06-24 20:21:20 +00:00
ide_db Merge #9450 2021-07-01 19:33:53 +00:00
ide_diagnostics Make unlinked_file diagnostic a hint again 2021-07-01 19:57:50 +02:00
ide_ssr clippy::redundant_field_names 2021-06-13 09:40:22 +05:30
mbe Rewrite convert_tokens to use an explicit stack 2021-06-23 00:21:11 +02:00
parser Complete repr attribute parameters 2021-06-17 21:15:49 +02:00
paths tree-wide: make rustdoc links spiky so they are clickable 2021-06-13 21:58:05 -07:00
proc_macro_api Update crates 2021-06-22 13:18:48 -04:00
proc_macro_srv internal: add cloning macro fixture 2021-06-25 23:37:55 +03:00
proc_macro_test internal: add cloning macro fixture 2021-06-25 23:37:55 +03:00
profile Merge #9260 2021-06-14 07:16:48 +00:00
project_model Avoid redundant clone 2021-06-28 09:28:31 +03:00
rust-analyzer Add "View Crate Graph (Full)" 2021-07-02 00:10:33 +02:00
stdx Fix compilation on WASM 2021-06-22 22:01:06 +02:00
syntax Merge #9437 2021-06-30 19:52:03 +00:00
test_utils test_utils: Make overlapping annotations possible 2021-06-20 19:12:06 +02:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Merge #9260 2021-06-14 07:16:48 +00:00
vfs Nest all the or-patterns! 2021-06-17 17:37:14 +02:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00