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 check-code-block-syntax - validates syntax inside Rust code blocks
9 collect-trait-impls - retrieves trait impls for items in the crate
10 calculate-doc-coverage - counts the number of items with and without documentation
11 check-invalid-html-tags - detects invalid HTML tags in doc comments
12 check-bare-urls - detects URLs that are not hyperlinks
14 Default passes for rustdoc:
16 check_doc_test_visibility
17 strip-hidden (when not --document-hidden-items)
18 strip-private (when not --document-private-items)
19 strip-priv-imports (when --document-private-items)
20 collect-intra-doc-links
21 check-code-block-syntax
22 check-invalid-html-tags
26 Passes run with `--show-coverage`:
27 strip-hidden (when not --document-hidden-items)
28 strip-private (when not --document-private-items)
29 calculate-doc-coverage