A couple different related issues here. In tests like [src/test/ui/regions/region-lifetime-bounds-on-fns-where-clause.rs](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/hr-subtype/hr-subtype.rs) - [src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-71955.rs](src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-71955.rs) In [src/test/ui/rfc1623.rs](src/test/ui/rfc1623.rs), the errors are very similar, but not exactly duplicates. @rustbot label +A-NLL +NLL-diagnostics
Activity
marmeladema commentedon Apr 19, 2022
Actually, maybe it's a duplicate of #95686 ?
Rollup merge of rust-lang#96212 - marmeladema:nll-revisions-regions, …
[-][NLL] Duplicated mismatched types errors[/-][+][NLL] Duplicated errors[/+]jackh726 commentedon May 21, 2022
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).