Re-exportsยง
use hir::HirId;๐use rustc_abi::Primitive::Pointer;๐use rustc_abi::VariantIdx;๐use rustc_data_structures::fx::FxHashSet;๐use rustc_errors::struct_span_code_err;๐use rustc_hir as hir;๐use rustc_index::Idx;๐use rustc_middle::ty::layout::LayoutError;๐use rustc_middle::ty::layout::SizeSkeleton;๐use rustc_middle::ty::offload_meta::is_region_ty;๐use rustc_middle::ty;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_middle::ty::Unnormalized;๐use rustc_span::def_id::LocalDefId;๐use rustc_span::ErrorGuaranteed;๐use rustc_span::bug;๐use tracing::trace;๐use rustc_errors::codes::*;๐
Functionsยง
- check_
offload ๐ - check_
offloads ๐ - check_
transmute ๐ - check_
transmutes ๐ - contains_
nested_ ๐offload_ region - skeleton_
string ๐ - Try to display a sensible error with as much information as possible.
- unpack_
option_ ๐like - If the type is
Option<T>, it will returnT, otherwise the type itself. Works on mostOption-like types.