rustdoc::passes - Rust (original) (raw)
Expand description
Contains information about βpassesβ, used to modify crate information during the documentation process.
Calculates information used for the βshow-coverage flag.
check_doc_test_visibility π
Looks for items missing (or incorrectly having) doctests.
This module implements RFC 1946: Intra-rustdoc-links
collect_trait_impls π
Collects trait impls for each item in the crate. For example, if a crate defines a struct that implements a trait, this pass will note that the struct implements that trait.
lint π
Runs several rustdoc lints, consolidating them into a single pass for efficiency and simplicity.
propagate_doc_cfg π
Propagates #[doc(cfg(...))] to child items.
propagate_stability π
Propagates stability to child items.
strip_hidden π
Strip all doc(hidden) items from the output.
strip_priv_imports π
Strips all private import statements (use, extern crate) from a crate.
strip_private π
Strip all private items from the output. Additionally implies strip_priv_imports. Basically, the goal is to remove items that are not relevant for public documentation.
stripper π
A collection of utility functions for the strip_*
passes.
ConditionalPass π
In a list of passes, a pass that may or may not need to be run depending on options.
Pass π
A single pass over the cleaned documentation.
Condition π
How to decide whether to run a conditional pass.
COVERAGE_PASSES π
The list of default passes run when --doc-coverage
is passed to rustdoc.
DEFAULT_PASSES π
The list of passes run by default.
PASSES π
The full list of passes.
defaults π
Returns the given default set of passes.