hax_frontend_exporter::constant_utils::rustc

Function valtree_to_constant_expr

source
pub(crate) fn valtree_to_constant_expr<'tcx, S: UnderOwnerState<'tcx>>(
    s: &S,
    valtree: ValTree<'tcx>,
    ty: Ty<'tcx>,
    span: Span,
) -> ConstantExpr