Skip to main content Crate rustdoc Copy item path Source pub(crate) use crate::clean::utils::DOC_RUST_LANG_ORG_VERSION ; π pub(crate) use crate::config::EmitType ; π pub(crate) use crate::error::Error ; π pub(crate) use crate::formats::cache::Cache ; π pub(crate) use env ; π pub(crate) use VarError ; π pub(crate) use io ; π pub(crate) use IsTerminal ; π pub(crate) use std::path::Path ; π pub(crate) use std::process::ExitCode ; π pub(crate) use rustc_ast::ast; π pub(crate) use rustc_errors::DiagCtxtHandle; π pub(crate) use rustc_hir::def_id::LOCAL_CRATE; π pub(crate) use rustc_interface::interface; π pub(crate) use rustc_middle::ty::TyCtxt; π pub(crate) use ErrorOutputType; π pub(crate) use Input; π pub(crate) use RustcOptGroup; π pub(crate) use make_crate_type_option; π pub(crate) use EarlyDiagCtxt; π pub(crate) use getopts; π pub(crate) use BytePos; π pub(crate) use Span; π pub(crate) use SyntaxContext; π pub(crate) use tracing::info; π calculate_doc_coverage π Calculates information used for the --show-coverage flag. clean π This module defines the primary IR used in rustdoc together with the procedures that
transform rustc data types into it. config π core π display π Various utilities for working with fmt::Display implementations. docfs π Rustdocβs FileSystem abstraction module. doctest π error π externalfiles π fold π formats π html json π Rustdocβs JSON backend lint π markdown π Standalone markdown rendering. passes π The definitions of passes which transform crate information. scrape_examples π This module analyzes crates to find call sites that can serve as examples in the documentation. theme π visit π visit_ast π The Rust AST Visitor. Extracts useful information and massages it into a form
usable for clean. visit_lib π map π A macro to create a FxHashMap. try_err try_none dump_feature_usage_metrics π init_logging π main main_args π opts π run_merge_finalize π Renders and writes cross-crate info files, like the search index. This function exists so that
we can run rustdoc without a crate root in the --merge=finalize mode. Cross-crate info files
discovered via --read-doc-meta-dir are combined and written to the doc root. run_renderer π usage π wrap_return π