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 unindent-comments - removes excess indentation on comments in order for markdown to like it
5 strip-private - strips all private items from a crate which cannot be seen externally, implies strip-priv-imports
6 strip-priv-imports - strips all private import statements (`use`, `extern crate`) from a crate
7 propagate-doc-cfg - propagates `#[doc(cfg(...))]` to child items
8 collect-intra-doc-links - resolves intra-doc links
9 check-code-block-syntax - validates syntax inside Rust code blocks
10 collect-trait-impls - retrieves trait impls for items in the crate
11 calculate-doc-coverage - counts the number of items with and without documentation
12 check-invalid-html-tags - detects invalid HTML tags in doc comments
13 check-bare-urls - detects URLs that are not hyperlinks
15 Default passes for rustdoc:
18 check_doc_test_visibility
19 strip-hidden (when not --document-hidden-items)
20 strip-private (when not --document-private-items)
21 strip-priv-imports (when --document-private-items)
22 collect-intra-doc-links
23 check-code-block-syntax
24 check-invalid-html-tags
28 Passes run with `--show-coverage`:
29 strip-hidden (when not --document-hidden-items)
30 strip-private (when not --document-private-items)
31 calculate-doc-coverage