Function clippy_utils::hir_utils::eq_expr_value
source · pub fn eq_expr_value(
cx: &LateContext<'_>,
left: &Expr<'_>,
right: &Expr<'_>
) -> bool
Expand description
Checks if two expressions evaluate to the same value, and don’t contain any side effects.