pub fn is_const_evaluatable<'cx, 'tcx>(
infcx: &InferCtxt<'cx, 'tcx>,
uv: UnevaluatedConst<'tcx>,
param_env: ParamEnv<'tcx>,
span: Span
) -> Result<(), NotConstEvaluatable>
Expand description
Check if a given constant can be evaluated.