unused_parens: higher ranked self type in where bounds is incorrectly handled #104397
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
results in the following lint:
following the lint results in a compiler error however:
By removing the parens this gets parsed as
for<'a> (fn(Inv<'a>): Trait)
instead of the original(for<'a> fn(Inv(<'a>))): Trait
The text was updated successfully, but these errors were encountered: