Re-exportsΒ§
use std::mem;πuse rustc_data_structures::sso::SsoHashMap;πuse rustc_hir::def_id::DefId;πuse rustc_middle::ty::error::TypeError;πuse rustc_middle::ty;πuse rustc_middle::ty::InferConst;πuse rustc_middle::ty::Term;πuse rustc_middle::ty::Ty;πuse rustc_middle::ty::TyCtxt;πuse rustc_middle::ty::TypeFlags;πuse rustc_middle::ty::TypeVisitableExt;πuse rustc_span::Span;πuse rustc_span::bug;πuse tracing::debug;πuse tracing::instrument;πuse tracing::instrument;πuse tracing::warn;πuse super::PredicateEmittingRelation;πuse super::Relate;πuse super::RelateResult;πuse super::TypeRelation;πuse crate::infer::type_variable::TypeVariableValue;πuse crate::infer::unify_key::ConstVariableValue;πuse crate::infer::InferCtxt;πuse crate::infer::RegionVariableOrigin;πuse crate::infer::relate;π
StructsΒ§
- Generalization π
- Result from a generalization operation. This includes not only the generalized type, but also a bool flag indicating whether further WF checks are needed.
- Generalizer π
- The βgeneralizerβ is used when handling inference variables.
EnumsΒ§
- TermVid π
ConstantsΒ§
- NEEDS_
GENERALIZATION π - Do we need to generalize this type?