This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ // check-pass
2+ // compile-flags: --passes list
Original file line number Diff line number Diff line change 1+ warning: the `passes` flag is deprecated
2+ |
3+ = note: see issue #44136 <https://github.com/rust-lang/rust/issues/44136> for more information
4+
Original file line number Diff line number Diff line change 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
14+
15+ Default passes for rustdoc:
16+ collect-trait-impls
17+ unindent-comments
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
25+ propagate-doc-cfg
26+ check-bare-urls
27+
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
You can’t perform that action at this time.
0 commit comments