mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
0531521dbb
Parse expression after `else` as a condition if followed by `{` Fixes #49361. Two things: 1. This wording needs help. I can never find a natural/intuitive phrasing when I write diagnostics 😅 2. Do we even want to show the "wrap in braces" case? I would assume most of the time the "add an `if`" case is the right one. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |