Skip to content

[NLL] Many errors generated instead of one with many notes #96278

Open
@marmeladema

Description

@marmeladema

In tests like:

Under NLL we generate many errors for almost the same span instead of one error with many notes under migrate mode, which is more readable and easier to understand.

We should fix this.

@rustbot label +A-NLL +NLL-diagnostics

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-NLLArea: Non-lexical lifetimes (NLL)A-diagnosticsArea: Messages for errors, warnings, and lintsNLL-diagnosticsWorking towards the "diagnostic parity" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions