pub fn eval_ty_constant<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
uv: UnevaluatedConst<'tcx>,
) -> Option<Const<'tcx>>Expand description
Evaluate a ty::Const.
pub fn eval_ty_constant<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
uv: UnevaluatedConst<'tcx>,
) -> Option<Const<'tcx>>Evaluate a ty::Const.