Re-exportsยง
use std::cell::Cell;๐use std::cell::RefCell;๐use std::ops::Deref;๐use rustc_data_structures::thin_vec::ThinVec;๐use rustc_data_structures::thin_vec::thin_vec;๐use rustc_errors::DiagCtxtHandle;๐use rustc_hir::def_id::DefId;๐use rustc_hir::def_id::LocalDefId;๐use rustc_hir as hir;๐use rustc_hir::HirId;๐use rustc_hir::ItemLocalMap;๐use rustc_hir_analysis::hir_ty_lowering::HirTyLowerer;๐use rustc_hir_analysis::hir_ty_lowering::InherentAssocCandidate;๐use rustc_hir_analysis::hir_ty_lowering::RegionInferReason;๐use rustc_infer::infer;๐use rustc_infer::infer::RegionVariableOrigin;๐use rustc_infer::traits::DynCompatibilityViolation;๐use rustc_infer::traits::Obligation;๐use rustc_infer::traits::TraitErrors;๐use rustc_middle::ty;๐use rustc_middle::ty::CantBeErased;๐use rustc_middle::ty::Const;๐use rustc_middle::ty::Flags;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_middle::ty::TypeVisitableExt;๐use rustc_middle::ty::TypingMode;๐use rustc_middle::ty::Unnormalized;๐use rustc_session::Session;๐use rustc_span::def_id::LocalModId;๐use rustc_span;๐use rustc_span::DUMMY_SP;๐use rustc_span::ErrorGuaranteed;๐use rustc_span::Ident;๐use rustc_span::Span;๐use rustc_trait_selection::error_reporting::TypeErrCtxt;๐use rustc_trait_selection::traits;๐use rustc_trait_selection::traits::FulfillmentError;๐use rustc_trait_selection::traits::ObligationCause;๐use rustc_trait_selection::traits::ObligationCauseCode;๐use rustc_trait_selection::traits::ObligationCtxt;๐use crate::coercion::CoerceMany;๐use crate::CoroutineTypes;๐use crate::Diverges;๐use crate::EnclosingBreakables;๐use crate::TypeckRootCtxt;๐
Modulesยง
- _impl ๐
- adjust_
fulfillment_ ๐errors - arg_
matrix ๐ - checks ๐
- inspect_
obligations ๐ - A utility module to inspect currently ambiguous obligations in the current context.
- suggestions ๐
Structsยง
- FnCtxt ๐
- The
FnCtxtstores type-checking context needed to type-check bodies of functions, closures, andconsts, including performing type inference withInferCtxt. - Lowered
Ty ๐ - The
tyrepresentation of a user-provided type. Depending on the use-site we want to either use the unnormalized or the normalized form of this type.
Enumsยง
- UseSubtyping ๐
- Whatever to use subtyping or not when inspecting obligations