Skip to content

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