error messages incorrectly display where bounds with higher ranked self types #104398
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The current output is:
The incorrect warning is tracked in #104397. The error message is also wrong though.
for<'a> fn(Inv<'a>): Trait
is a different from(for<'a> fn(Inv<'a>)): Trait
.The text was updated successfully, but these errors were encountered: