Re-exportsΒ§
use rustc_infer::infer::TyCtxtInferExt;πuse rustc_infer::infer::canonical::Canonical;πuse rustc_infer::infer::canonical::QueryResponse;πuse rustc_infer::traits::PredicateObligations;πuse rustc_middle::query::Providers;πuse rustc_middle::ty;πuse rustc_middle::ty::ParamEnvAnd;πuse rustc_middle::ty::TyCtxt;πuse rustc_trait_selection::error_reporting::InferCtxtErrorExt;πuse rustc_trait_selection::infer::InferCtxtBuilderExt;πuse rustc_trait_selection::traits::query::normalize::NormalizationResult;πuse rustc_trait_selection::traits::query::CanonicalAliasGoal;πuse rustc_trait_selection::traits::query::NoSolution;πuse rustc_trait_selection::traits;πuse rustc_trait_selection::traits::ObligationCause;πuse rustc_trait_selection::traits::ScrubbedTraitError;πuse rustc_trait_selection::traits::SelectionContext;πuse tracing::debug;π
FunctionsΒ§
- const_
arg_ πhas_ type_ obligation - If
normalized_termis a const, returns aConstArgHasTypeobligation to verify that the const valueβs type matches the aliasβs declared type. ReturnsNoneif the term is a type rather than a const. - normalize_
canonicalized_ πfree_ alias - normalize_
canonicalized_ πinherent_ projection - normalize_
canonicalized_ πprojection - provide π