Skip to content
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

Don't generate #[doc(hidden)] elements #34026

Closed
wants to merge 1 commit into from

Conversation

GuillaumeGomez
Copy link
Member

Fixes #34025.

r? @brson


// @has issue_15347/fn.foo.html
#[doc(hidden)]
pub fn foo() {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this test should be deleted. From #15347 it seems that these compile flags are supposed to result in this file existing, with actual content (whereas this PR is removing empty files for hidden docs).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing here is that the foo function is the only item and is specified as hidden. So we have nothing to generate. If I understood correctly, #15347 was about creating doc for private items, not hidden ones.

@GuillaumeGomez
Copy link
Member Author

Closing it in favor of #34045.

@GuillaumeGomez GuillaumeGomez deleted the doc_hidden branch June 2, 2016 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants