You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use of .await in 2015 edition prints one error per use #90849
A-diagnosticsArea: Messages for errors, warnings, and lintsA-edition-2015Area: The 2015 edition (the first edition)D-editionDiagnostics: An error or lint that should account for edition differences.D-verboseDiagnostics: Too much output caused by a single piece of incorrect code.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
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.
A-diagnosticsArea: Messages for errors, warnings, and lintsA-edition-2015Area: The 2015 edition (the first edition)D-editionDiagnostics: An error or lint that should account for edition differences.D-verboseDiagnostics: Too much output caused by a single piece of incorrect code.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity