Expand description
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.
Re-exportsยง
use rustc_attr_ir::Attribute;๐use rustc_attr_ir::AttributeKind;๐use rustc_attr_ir::DocAttribute;๐use rustc_attr_ir::find_attr;๐use rustc_data_structures::fx::FxHashSet;๐use rustc_errors::FatalError;๐use rustc_hir::def_id::DefId;๐use rustc_hir::def_id::LOCAL_CRATE;๐use rustc_middle::ty;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_span::kw;๐use tracing::debug;๐use crate::core::DocContext;๐use crate::formats::cache::Cache;๐use crate::visit::DocVisitor;๐use crate::clean::*;๐
Structsยง
- Item
AndAlias ๐Collector - Synthetic
Impl ๐Collector
Enumsยง
- Self
TyHead ๐
Functionsยง
- collect_
trait_ ๐impls