2 Checks for any kind of arithmetic operation of any type.
4 Operators like `+`, `-`, `*` or `<<` are usually capable of overflowing according to the [Rust
5 Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#overflow),
6 or can panic (`/`, `%`). Known safe built-in types like `Wrapping` or `Saturing` are filtered
10 Integer overflow will trigger a panic in debug builds or will wrap in
11 release mode. Division by zero will cause a panic in either mode. In some applications one
12 wants explicitly checked, wrapping or saturating arithmetic.
19 Third-party types also tend to overflow.
23 use rust_decimal::Decimal;
24 let _n = Decimal::MAX + Decimal::MAX;
28 Custom allowed types can be specified through the "arithmetic-allowed" filter.