Open
Description
When using .await
and async fn
in 2015 editions, we emit an error for each instance of incorrect usage. The most common case of this happening is likely to be when not being aware of the edition distinction in a new project and/or copying complete code from elsewhere. We should group these errors and emit a single error to reduce output verbosity. We might want to group per mod
or some other strategy, but even the naïve approach is likely to work out ok.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: The 2015 edition (the first edition)Diagnostics: An error or lint that should account for edition differences.Diagnostics: Too much output caused by a single piece of incorrect code.Low priorityRelevant to the compiler team, which will review and decide on the PR/issue.