rustc_trait_selection::traits::normalize

Function normalize_with_depth

source
pub(crate) fn normalize_with_depth<'a, 'b, 'tcx, T>(
    selcx: &'a mut SelectionContext<'b, 'tcx>,
    param_env: ParamEnv<'tcx>,
    cause: ObligationCause<'tcx>,
    depth: usize,
    value: T,
) -> Normalized<'tcx, T>
where T: TypeFoldable<TyCtxt<'tcx>>,
Expand description

As normalize, but with a custom depth.