Open
Description
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:
- src/test/ui/hr-subtype/hr-subtype.rs
- src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-71955.rs
In src/test/ui/rfc1623.rs, the errors are very similar, but not exactly duplicates.
@rustbot label +A-NLL +NLL-diagnostics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)Area: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goalRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.