Unused imports lint should detect redundant prelude imports #28296
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.
This code produces no warning:
A warning would be useful for old code that imports items which have since made it into the prelude.
The text was updated successfully, but these errors were encountered: