Skip to main content

normalize_with_regions

Function normalize_with_regions 

Source
pub fn normalize_with_regions<'tcx>(
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    ty: Ty<'tcx>,
) -> Ty<'tcx>
Expand description

Normalizes the given type, without erasing regions. If normalization fails it falls back to returning the original un-normalized type.