pub fn is_const_evaluatable<'tcx>(
cx: &LateContext<'tcx>,
e: &'tcx Expr<'_>,
) -> boolExpand description
Checks if the given expression is a constant.
pub fn is_const_evaluatable<'tcx>(
cx: &LateContext<'tcx>,
e: &'tcx Expr<'_>,
) -> boolChecks if the given expression is a constant.