Skip to content

Feature request: unecessarily public item #15855

Open

Description

Lint items that are exported as pub, but are not used outside of the module they are defined in. Likely in the pedantic category, and needs some heuristic to avoid linting items that are intended to be exported to other crates (eg don't lint on items defined in/reexported in lib.rs or prelude.rs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsdiagnostics / error reportingC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions