Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: don't document private macros by default #88456

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

inquisitivecrystal
Copy link
Contributor

As part of #88019, I made it so private macros are documented in --document-private-items mode. Unfortunately, it appears that I also accidentally made them be documented when not in --document-private-items mode. This PR fixes that and adds a regression test.

r? @jyn514 (I hope you don't mind that I keep sending PRs your way)

Fixes #88453.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 29, 2021
@jyn514 jyn514 added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 29, 2021
@jyn514
Copy link
Member

jyn514 commented Aug 30, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Aug 30, 2021

📌 Commit 6aacbd8 has been approved by jyn514

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 30, 2021
@bors
Copy link
Contributor

bors commented Aug 30, 2021

⌛ Testing commit 6aacbd8 with merge dbb0fe9...

@bors
Copy link
Contributor

bors commented Aug 30, 2021

☀️ Test successful - checks-actions
Approved by: jyn514
Pushing dbb0fe9 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 30, 2021
@bors bors merged commit dbb0fe9 into rust-lang:master Aug 30, 2021
@rustbot rustbot added this to the 1.56.0 milestone Aug 30, 2021
dylni added a commit to dylni/os_str_bytes that referenced this pull request Sep 6, 2021
This reverts commit 75729ae.

This regression has been fixed:
rust-lang/rust#88456
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Private macros are documented
5 participants