Skip to content

missing_docs_in_private_items does not honor allow statements #1895

@darnir

Description

@darnir

I tried to enable the missing_docs_in_private_items lint. I have a coupe of modules that are not documented since they don't require it. The existing rustc lint for missing_docs also flags it, but I set a #[allow(missing_docs)] to silence the lint on just that module.

Turns out clippy does not heed this specific exception and still warns me about the missing docs. Would it be possible to check if the user has tried to silence the warning on that part of the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsT-middleType: Probably requires verifiying typesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions