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.
pub fn normalize_param_env_or_error<'tcx>(
tcx: TyCtxt<'tcx>,
unnormalized_env: ParamEnv<'tcx>,
cause: ObligationCause<'tcx>,
) -> ParamEnv<'tcx>
Normalizes the parameter environment, reporting errors if they occur.