pub fn normalize<'a, 'b, 'tcx, T>(
selcx: &'a mut SelectionContext<'b, 'tcx>,
param_env: ParamEnv<'tcx>,
cause: ObligationCause<'tcx>,
value: T
) -> Normalized<'tcx, T>where
T: TypeFoldable<'tcx>,
Expand description
Normalizes any associated type projections in value
, replacing
them with a fully resolved type where possible. The return value
combines the normalized result and any additional obligations that
were incurred as result.