Skip to content

[NLL] Duplicated errors #96211

Open
Open

Description

@marmeladema

A couple different related issues here.

In tests like src/test/ui/regions/region-lifetime-bounds-on-fns-where-clause.rs, the errors for mismatched types are actually duplicates (exactly the same error on the same line for the same span and the same notes.

Other similar tests:

In src/test/ui/rfc1623.rs, the errors are very similar, but not exactly duplicates.

@rustbot label +A-NLL +NLL-diagnostics

Activity

  1. added
    A-diagnosticsArea: Messages for errors, warnings, and lints
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Apr 19, 2022
  2. added
    A-NLLArea: Non-lexical lifetimes (NLL)
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    on Apr 19, 2022
  3. marmeladema commented on Apr 19, 2022

    @marmeladema
    ContributorAuthor

    Actually, maybe it's a duplicate of #95686 ?

  4. added a commit that references this issue on Apr 24, 2022
  5. changed the title [-][NLL] Duplicated mismatched types errors[/-] [+][NLL] Duplicated errors[/+] on May 21, 2022
  6. jackh726 commented on May 21, 2022

    @jackh726
    Member

    I've changed this issue to track duplicate errors in NLL in general, wrapping in #95686 and expanding to also include hr-subtype.rs (updated op).

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-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