51d85e1060
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>