Expand description
Set of traits which are used to emulate the inherent impls that are present in rustc_middle.
It is customary to glob-import rustc_type_ir::inherent::* to bring all of these traits into
scope when programming in interner-agnostic settings, and to avoid importing any of these
directly elsewhere (i.e. specify the full path for an implementation downstream).
Re-exportsยง
use std::fmt::Debug;๐use std::fmt::Debug;๐use std::hash::Hash;๐use std::hash::Hash;๐use rustc_abi::Size;๐use rustc_ast_ir::Mutability;๐use crate::elaborate::Elaboratable;๐use crate::fold::TypeFoldable;๐use crate::fold::TypeSuperFoldable;๐use crate::relate::Relate;๐use crate::solve::AdtDestructorKind;๐use crate::solve::SizedTraitKind;๐use crate::visit::Flags;๐use crate::visit::TypeSuperVisitable;๐use crate::visit::TypeVisitable;๐use crate as ty;๐use crate::CallerBoundsAccessor;๐use crate::ClauseKind;๐use crate::CollectAndApply;๐use crate::Const;๐use crate::FieldInfo;๐use crate::Interner;๐use crate::NoClauses;๐use crate::PredicateKind;๐use crate::Region;๐use crate::UpcastFrom;๐