pub fn is_integer_const(cx: &LateContext<'_>, e: &Expr<'_>, value: u128) -> boolExpand description
Checks whether the given expression is a constant integer of the given value.
unlike is_integer_literal, this version does const folding
pub fn is_integer_const(cx: &LateContext<'_>, e: &Expr<'_>, value: u128) -> boolChecks whether the given expression is a constant integer of the given value.
unlike is_integer_literal, this version does const folding