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