message: Simplify: `left.rhs * right` is only safe when operators are the same
diff: @@ -443,9 +443,8 @@ fn fold_bin(
  op: left_op,
  right: left_rhs,
  }) => {
  - let v = perform_arithmetic_op(op, &left_rhs, &right);
  - match v {
  - Known(value) => {
  + if left_op == op {
  + if let Known(value) = perform_arithmetic_op(op, &left_rhs, &right) {
  return Expr::Bin(BinExpr {
  span,
  left: left_lhs,
  @@ -453,7 +452,7 @@ fn fold_bin(
  right: box Expr::Lit(Lit::Num(Number { value, span })),
  });
  }
  - _ => {
  + }
  left = box Expr::Bin(BinExpr {
  left: left_lhs,
  op: left_op,
  @@ -461,8 +460,6 @@ fn fold_bin(
  right: left_rhs,
  })
  }
  - }
  - }
  _ => {}
  }
  