Mention expectation of {
for parse error immediately after async
in expressions
#80931
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code
rust/src/test/ui/parser/block-no-opening-brace.stderr
Lines 34 to 40 in fe531d5
should also mention an expectation for an open brace
{
, and potentially even suggesting a new block, like the other test cases in that file.The text was updated successfully, but these errors were encountered: