-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add configuration to lint missing docs of pub(crate)
items
#10303
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @giraffate (or someone else) soon. Please see the contribution instructions for more information. |
Agreed. I also am fine with the name. I'll let @giraffate do the final review, I only skimmed over the name and documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I asked one question.
The tests/ui-toml/pub_crate_missing_docs/pub_crate_missing_doc.stdout
file is empty, so it should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, thanks!
I made small comments. I'll merge this once those are addressed.
Thanks @giraffate! It seems we're good to go then |
@bors r+ Thanks! |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes this: #5736 (comment)
TODO:
pub
items be checked to when this new option is enabled? I'm saying no becausemissing_docs
already exists@flip1995 I'd like to get some input from you :)
changelog: Enhancement: [
missing_docs_in_private_items
]: Added new configurationmissing-docs-in-crate-items
to lint on items visible within the current crate. For example,pub(crate)
items.#10303