wildcard_imports
is ignored in test crates
#13186
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
The
wildcard_imports
lint is skipped in all test crates. This is an explicit choice of the lint, but I wasn't able to find any history explaining why, the blame points to a merge commit.rust-clippy/clippy_lints/src/wildcard_imports.rs
Lines 119 to 121 in 8f3cfb4
Lint Name
wildcard_imports
Reproducer
I tried this code:
I expected to see this happen: two warnings about wildcard imports
Instead, this happened: only one warning about wildcard imports
Version
The text was updated successfully, but these errors were encountered: