Expand description
Standard-library API identities registered as rustc diagnostic items.
A diagnostic item is a definition marked with #[rustc_diagnostic_item = "..."]
in the standard library. rustc records its marker name and DefId, allowing
callers to recognize the definition without matching its module path.
ยงAgent Rules
Keep this module limited to identifying diagnostic items by DefId.
Do not depend on other RAPx modules.
Re-exportsยง
use rustc_hir::def_id::DefId;๐use rustc_middle::ty::TyCtxt;๐use rustc_span::Symbol;๐
Functionsยง
- is_drop
- is_
drop_ in_ place - is_
mem_ size_ or_ align_ of - Whether
didismem::size_oformem::align_of. - is_
ptr_ copy - is_
ptr_ read - is_
ptr_ write - is_
ptr_ write_ to_ uninit