1 Available passes for running rustdoc:
2 check_doc_test_visibility - run various visibility-related lints on doctests
3 strip-hidden - strips all `#[doc(hidden)]` items from the output
4 strip-private - strips all private items from a crate which cannot be seen externally, implies strip-priv-imports
5 strip-priv-imports - strips all private import statements (`use`, `extern crate`) from a crate
6 propagate-doc-cfg - propagates `#[doc(cfg(...))]` to child items
7 collect-intra-doc-links - resolves intra-doc links
8 collect-trait-impls - retrieves trait impls for items in the crate
9 calculate-doc-coverage - counts the number of items with and without documentation
10 run-lints - runs some of rustdoc's lints
12 Default passes for rustdoc:
14 check_doc_test_visibility
15 strip-hidden (when not --document-hidden-items)
16 strip-private (when not --document-private-items)
17 strip-priv-imports (when --document-private-items)
18 collect-intra-doc-links
22 Passes run with `--show-coverage`:
23 strip-hidden (when not --document-hidden-items)
24 strip-private (when not --document-private-items)
25 calculate-doc-coverage