No warning for unused function using impl Trait
on beta and nightly
#54754
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
The following code only warns that
f
is unused on stable, not on beta or nightly:(apologies if this is a duplicate, but a quick search didn't turn anything up)
The text was updated successfully, but these errors were encountered: