-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
private_interfaces not linting RPITIT #143531
Copy link
Copy link
Closed
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-bugCategory: This is a bug.Category: This is a bug.L-false-negativeLint: False negative (should have fired but didn't).Lint: False negative (should have fired but didn't).L-private_interfacesLint: private_interfacesLint: private_interfacesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-bugCategory: This is a bug.Category: This is a bug.L-false-negativeLint: False negative (should have fired but didn't).Lint: False negative (should have fired but didn't).L-private_interfacesLint: private_interfacesLint: private_interfacesT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Current output
Empty output with no warnings.
Desired output
Rationale and extra context
No response
Other cases
Both using a concrete type or using RPIT in a method outside traits produce correct lints:
produces
Produces
Rust Version
Anything else?
No response