pub fn valtree_to_const_value<'tcx>(
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    cv: Value<'tcx>,
) -> ConstValueExpand description
Converts a ValTree to a ConstValue, which is needed after mir
construction has finished.
pub fn valtree_to_const_value<'tcx>(
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    cv: Value<'tcx>,
) -> ConstValueConverts a ValTree to a ConstValue, which is needed after mir
construction has finished.