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