rustc_trait_selection::traits

Function normalize_param_env_or_error

source
pub fn normalize_param_env_or_error<'tcx>(
    tcx: TyCtxt<'tcx>,
    unnormalized_env: ParamEnv<'tcx>,
    cause: ObligationCause<'tcx>,
) -> ParamEnv<'tcx>
Expand description

Normalizes the parameter environment, reporting errors if they occur.