Skip to main content

Module normalize_projection_ty

Module normalize_projection_ty 

Source

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_term is a const, returns a ConstArgHasType obligation to verify that the const value’s type matches the alias’s declared type. Returns None if the term is a type rather than a const.
normalize_canonicalized_free_alias πŸ”’
normalize_canonicalized_inherent_projection πŸ”’
normalize_canonicalized_projection πŸ”’
provide πŸ”’