False positive unfulfilled_lint_expectations
for enum_glob_use
with --all-targets
or --tests
#13358
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
unfulfilled_lint_expectations
seems to trigger forenum_glob_use
when either--all-targets
or--tests
is used. Yet other lints, likeunreadable_literal
don't behave that way.rust-lang/rust#130021
rust-lang/rust-analyzer#17685
Lint Name
enum_glob_use
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: