c67cf5fddc
Do not desugar if-let-else to match arm guards Fixes #41272 Changed the desugaring code **Before** ```rust match <sub_expr> { <pat> => <body>, [_ if <else_opt_if_cond> => <else_opt_if_body>,] _ => [<else_opt> | ()] } ``` **After** ```rust match <sub_expr> { <pat> => <body>, _ => [<else_opt> | ()] } ``` With this fix, it doesn't cause E0301 |
||
---|---|---|
.. | ||
map | ||
check_attr.rs | ||
def_id.rs | ||
def.rs | ||
intravisit.rs | ||
itemlikevisit.rs | ||
lowering.rs | ||
mod.rs | ||
pat_util.rs | ||
print.rs | ||
svh.rs |