Function eval_ty_constant

Source
pub fn eval_ty_constant<'tcx, S: UnderOwnerState<'tcx>>(
    s: &S,
    c: Const<'tcx>,
) -> Option<Const<'tcx>>
Expand description

Evaluate a ty::Const.