Closed
Description
I recently broke the command RUSTDOCFLAGS='--document-private-items --document-hidden-items' x doc library/std
, see #87842, which demonstrates that CI doesn’t test rustdoc on the standard library with these flags. In effect, code with broken intra doc links in or other issues with doc(hidden)
items (and probably also for private items?) aren’t detected and can be merged into master
. Maybe we want to add a test for it? Possibly it’s even true that normal x doc library/std
will always succeed if the one with --document-private-items --document-hidden-items
does so we wouldn’t even need to test both with and without those flags? (Correct me if I’m wrong on that last point.)
@rustbot label T-infra, A-docs, A-testsuite, C-enhancement
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsArea: The testsuite used to check the correctness of rustcCategory: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the infrastructure team, which will review and decide on the PR/issue.