-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add new check_private_items
config
#11842
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 new check_private_items
config
#11842
Conversation
If this config is specific to doc lints it might be good to include that in the config name. If it's intended as a general setting, then the name should be fine :) |
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.
Meow Meow
Currently blocked by #11801
I kinda had in mind something that could be generalized indeed. Should I make the change to make it specific for docs? |
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.
Hmmm, you're probably right, it should be a general configuration option. Thanks for the clarification.
LGTM, thanks! ❤️
b1b3924
to
1cbc945
Compare
Great! I blessed the failing test so now waiting for the other PR to get merged. :) |
☔ The latest upstream changes (presumably #11801) made this pull request unmergeable. Please resolve the merge conflicts. |
1cbc945
to
f355943
Compare
Rebased and fixed the merge conflict. |
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.
Meow
@bors r+ |
💔 Test failed - checks-action_test |
…lyxyas Add new `check_private_items` config Fixes #11742. It adds a new configuration which allows for `MISSING_SAFETY_DOC`, `UNNECESSARY_SAFETY_DOC`, `MISSING_PANICS_DOC` and `MISSING_ERRORS_DOC` lints to run on private items. r? `@blyxyas`
I forgot the changelog once again... Added it! |
@bors retry |
…lyxyas Add new `check_private_items` config Fixes #11742. It adds a new configuration which allows for `MISSING_SAFETY_DOC`, `UNNECESSARY_SAFETY_DOC`, `MISSING_PANICS_DOC` and `MISSING_ERRORS_DOC` lints to run on private items. changelog: add a new configuration which allows for `MISSING_SAFETY_DOC`, `UNNECESSARY_SAFETY_DOC`, `MISSING_PANICS_DOC` and `MISSING_ERRORS_DOC` lints to run on private items. r? `@blyxyas`
@bors r- (I've changed the changelog entry and want to refresh the commit) |
@GuillaumeGomez before I r=blyxyas, could you run |
What message you want in the commit exactly? (So I can update it) |
I wanted to add links to the config and lint names. Usually we update the messages in the end, when the changelog is written, but some preprocessing never hurts ^^ |
💔 Test failed - checks-action_test |
…doc`], [`missing_errors_doc`]: Added the [`check-private-items`] configuration to enable lints on private items. [rust-lang#11842](rust-lang#11842)
f355943
to
5cdda53
Compare
Ran the command and updated the commit message. |
Thank you for the quick updates :D @bors r=blyxyas |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
…doc`], [`missing_errors_doc`]: Added the [`check-private-items`] configuration to enable lints on private items. [rust-lang#11842](rust-lang#11842)
Fixes #11742.
It adds a new configuration which allows for
MISSING_SAFETY_DOC
,UNNECESSARY_SAFETY_DOC
,MISSING_PANICS_DOC
andMISSING_ERRORS_DOC
lints to run on private items.changelog: [
missing_safety_doc
], [unnecessary_safety_doc
], [missing_panics_doc
], [missing_errors_doc
]: Added the [check-private-items
] configuration to enable lints on private items.#11842
r? @blyxyas