pub fn eval_mir_constant<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
c: Const<'tcx>,
) -> Option<Const<'tcx>>Expand description
Evaluate a mir::Const.
pub fn eval_mir_constant<'tcx, S: UnderOwnerState<'tcx>>(
s: &S,
c: Const<'tcx>,
) -> Option<Const<'tcx>>Evaluate a mir::Const.