Function rustc::traits::normalize_param_env_or_error
[−]
[src]
pub fn normalize_param_env_or_error<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
region_context: DefId,
unnormalized_env: ParamEnv<'tcx>,
cause: ObligationCause<'tcx>
) -> ParamEnv<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Normalizes the parameter environment, reporting errors if they occur.