rustdoc::passes - Rust (original) (raw)

Expand description

Contains information about β€œpasses”, used to modify crate information during the documentation process.

calculate_doc_coverage πŸ”’

Calculates information used for the –show-coverage flag.

check_doc_test_visibility πŸ”’

Looks for items missing (or incorrectly having) doctests.

collect_intra_doc_links πŸ”’

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_aliased_non_local πŸ”’

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.