CI tests running rustdoc with --document-private-items --document-hidden-items
on std
?
#87844
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
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 withdoc(hidden)
items (and probably also for private items?) aren’t detected and can be merged intomaster
. Maybe we want to add a test for it? Possibly it’s even true that normalx 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
The text was updated successfully, but these errors were encountered: