[−][src]Trait rustc_trait_selection::infer::InferCtxtExt

pub trait InferCtxtExt<'tcx> {
    pub fn type_is_copy_modulo_regions(
        &self,
        param_env: ParamEnv<'tcx>,
        ty: Ty<'tcx>,
        span: Span
    ) -> bool;
pub fn partially_normalize_associated_types_in<T>(
        &self,
        span: Span,
        body_id: HirId,
        param_env: ParamEnv<'tcx>,
        value: T
    ) -> InferOk<'tcx, T>
    where
        T: TypeFoldable<'tcx>
; }

Required methods

pub fn type_is_copy_modulo_regions(
    &self,
    param_env: ParamEnv<'tcx>,
    ty: Ty<'tcx>,
    span: Span
) -> bool
[src]

pub fn partially_normalize_associated_types_in<T>(
    &self,
    span: Span,
    body_id: HirId,
    param_env: ParamEnv<'tcx>,
    value: T
) -> InferOk<'tcx, T> where
    T: TypeFoldable<'tcx>, 
[src]

Loading content...

Implementors

impl<'cx, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'cx, 'tcx>[src]

pub fn partially_normalize_associated_types_in<T>(
    &self,
    span: Span,
    body_id: HirId,
    param_env: ParamEnv<'tcx>,
    value: T
) -> InferOk<'tcx, T> where
    T: TypeFoldable<'tcx>, 
[src]

Normalizes associated types in value, potentially returning new obligations that must further be processed.

Loading content...