rustc_const_eval::const_eval::eval_queries

Function turn_into_const_value

Source
pub(crate) fn turn_into_const_value<'tcx>(
    tcx: TyCtxt<'tcx>,
    constant: ConstAlloc<'tcx>,
    key: PseudoCanonicalInput<'tcx, GlobalId<'tcx>>,
) -> ConstValue<'tcx>