Expand description
Resolved DefIds of standard-library types used by verification.
ยงAgent Rules
Keep this module limited to resolving standard-library type identities from rustc lang items, diagnostic items, and definition paths. Do not depend on other RAPx modules.
Re-exportsยง
use rustc_hir::def_id::DefId;๐use rustc_middle::ty::TyCtxt;๐use rustc_public::CrateDef;๐use rustc_public::rustc_internal;๐use rustc_span::sym;๐use std::collections::HashMap;๐use std::sync::OnceLock;๐
Macrosยง
- type_
predicates ๐
Enumsยง
- StdAdt
Type ๐
Staticsยง
- TYPES ๐
Functionsยง
- classify_
type ๐ - def_
ids_ ๐for_ type - init
- init_
types ๐ - is_
index_ range - Whether this is the standard
IndexRangetype. - is_
maybe_ uninit_ type - Whether this is
core::mem::MaybeUninit. - is_
std_ box - Whether this is
alloc::boxed::Box. - is_
std_ cstring - Whether this is
alloc::ffi::CString. - is_
std_ iter_ or_ itermut - Whether this is
core::slice::IterorIterMut. - is_
std_ nonnull - Whether this is
core::ptr::NonNull. - is_
std_ ordering - Whether this is
core::cmp::Ordering. - is_
std_ rc - Whether this is
alloc::rc::Rc. - is_
std_ string - Whether this is
alloc::string::String. - is_
std_ sync_ primitive - Whether this is a standard
Mutex,RwLock,OnceLock, or atomic type. - is_
std_ vec - Whether this is
alloc::vec::Vec. - types ๐