-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing_docs_in_private_items does not honor allow statements #1895
Comments
Implementable by using Prerequisite is to make |
IIRC, this lint is copied from rustc and merely removes the check about |
@mcarton As I mentioned in the original report, I have a couple of public modules which are non-documented. |
clippy will stop complaining if you add |
Here's a playground reproduction of this issue. To paraphrase: |
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 formissing_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?The text was updated successfully, but these errors were encountered: