Function rustc_const_eval::const_eval::eval_queries::op_to_const
source · 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.