unused_parens: doesn't trigger for higher ranked function pointers #105061
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This should lint as the parens around the function pointer are unnecessary, but stopped doing so due to #104796.
Expected output:
The text was updated successfully, but these errors were encountered: