Function rustc_const_eval::const_eval::eval_queries::turn_into_const_value
source · pub(crate) fn turn_into_const_value<'tcx>(
tcx: TyCtxt<'tcx>,
constant: ConstAlloc<'tcx>,
key: ParamEnvAnd<'tcx, GlobalId<'tcx>>
) -> ConstValue<'tcx>