rust/tests/ui/numbers-arithmetic
Esteban Küber 3815ed63ed Remove some unnecessary parens in assert! conditions
While working on #122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
2025-02-06 22:28:44 +00:00
..
apfloat-modulo-wrong.rs
arith-unsigned.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
div-mod.rs
divide-by-zero.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
f16-f128-lit.rs
float-int-invalid-const-cast.rs
float-literal-inference.rs
float-nan.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
float-signature.rs
float.rs
float2.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
float_math.rs
floatlits.rs Remove some unnecessary parens in assert! conditions 2025-02-06 22:28:44 +00:00
i8-incr.rs
i32-sub.rs
i128.rs
int-abs-overflow.rs tests: use needs-threads instead of ignore-emscripten 2025-01-23 20:51:29 +08:00
int.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
integer-literal-radix.rs
integer-literal-suffix-inference-2.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
integer-literal-suffix-inference-3.rs
integer-literal-suffix-inference.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-8460.rs tests: use needs-threads instead of ignore-emscripten 2025-01-23 20:51:29 +08:00
location-add-assign-overflow.rs
location-add-overflow.rs
location-divide-assign-by-zero.rs
location-divide-by-zero.rs
location-mod-assign-by-zero.rs
location-mod-by-zero.rs
location-mul-assign-overflow.rs
location-mul-overflow.rs
location-sub-assign-overflow.rs
location-sub-overflow.rs
mod-zero.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
next-power-of-two-overflow-debug.rs
next-power-of-two-overflow-ndebug.rs
not-suggest-float-literal.rs
not-suggest-float-literal.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
num-wrapping.rs
numeric-method-autoexport.rs
overflow-attribute-works-1.rs
overflow-attribute-works-2.rs
overflowing-add.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
overflowing-lsh-4.rs
overflowing-lsh-4.stderr
overflowing-mul.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
overflowing-neg-nonzero.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
overflowing-pow-signed.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
overflowing-pow-unsigned.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
overflowing-rsh-4.rs
overflowing-rsh-4.stderr
overflowing-sub.rs tests: use needs-subprocess instead of ignore-{wasm32,emscripten,sgx} 2025-01-23 20:51:29 +08:00
promoted_overflow.rs
saturating-float-casts-impl.rs
saturating-float-casts-wasm.rs
saturating-float-casts.rs
shift-near-oflo.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
shift-various-types.rs
shift.rs
signed-shift-const-eval.rs
suggest-float-literal.fixed
suggest-float-literal.rs
suggest-float-literal.stderr Don't call const normalize in error reporting 2024-09-22 13:55:06 -04:00
u8-incr-decr.rs
u8-incr.rs
u32-decr.rs
u128-as-f32.rs
u128.rs
uint.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
unary-minus-suffix-inference.rs