rust/compiler/rustc_parse/src
Dylan DPC 0531521dbb
Rollup merge of #97298 - compiler-errors:if-else-stmt-braces, r=davidtwco
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.
2022-05-24 15:58:24 +02:00
..
lexer Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
parser Rollup merge of #97298 - compiler-errors:if-else-stmt-braces, r=davidtwco 2022-05-24 15:58:24 +02:00
lib.rs rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
validate_attr.rs Overhaul MacArgs::Eq. 2022-05-05 07:06:12 +10:00