Should have lint to disallow unused type parameters #25871
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
The following compiles and runs without warning:
I think that this should at least warn, just like unused imports or unused variables; it would almost always be a result from a mistake in refactoring.
The text was updated successfully, but these errors were encountered: