Skip to content

Use of .await in 2015 edition prints one error per use #90849

Description

@estebank

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.

Activity

  1. added
    A-diagnostics
    P-low
    T-compiler
    D-edition
    D-verbose
    on Nov 13, 2021
  2. added
    A-edition-2015
    A-parser
    and removed
    A-parser
    on Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsA-edition-2015D-editionD-verboseP-lowT-compiler

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions