Improve diagnostic for break
in async { ... }
block
#63391
Labels
A-async-await
Area: Async & Await
A-diagnostics
Area: Messages for errors, warnings, and lints
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
With:
you get:
Note how it references "a closure" which seems confusing for a user who doesn't presume the implementation.
The text was updated successfully, but these errors were encountered: