pub(super) fn op_to_const<'tcx>(
    ecx: &InterpCx<'_, 'tcx, CompileTimeInterpreter<'_, 'tcx>>,
    op: &OpTy<'tcx>
) -> ConstValue<'tcx>
Expand description

This function converts an interpreter value into a MIR constant.