-
Notifications
You must be signed in to change notification settings - Fork 2.1k
wildcard_imports triggers for use example::bindgen_prelude::* #10846
Copy link
Copy link
Closed
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't haveL-pedanticLint: Belongs in the pedantic lint groupLint: Belongs in the pedantic lint groupgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Metadata
Metadata
Assignees
Labels
C-bugCategory: Clippy is not doing the correct thingCategory: Clippy is not doing the correct thingI-false-positiveIssue: The lint was triggered on code it shouldn't haveIssue: The lint was triggered on code it shouldn't haveL-pedanticLint: Belongs in the pedantic lint groupLint: Belongs in the pedantic lint groupgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Running Clippy on code that has wildcard imports for prelude modules that aren't named exactly as
preludetriggers thewildcard_importslint.Lint Name
wildcard_imports
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No emitted lint warning.
Version
Additional Labels
@rustbot label +L-pedantic