diff options
| author | Ralf Jung <post@ralfj.de> | 2022-03-02 19:20:27 -0500 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-03-02 19:20:27 -0500 |
| commit | 24fc1151ee5b7d94f38d6e5981fbbb37b8210105 (patch) | |
| tree | 6a50e97f5bcf225babffcfb9cb9ada4f021e7773 | |
| parent | 6739299d18a16851140bc6b24b8eeae31e3d5878 (diff) | |
| download | rust-24fc1151ee5b7d94f38d6e5981fbbb37b8210105.tar.gz rust-24fc1151ee5b7d94f38d6e5981fbbb37b8210105.zip | |
bless clippy
| -rw-r--r-- | src/tools/clippy/tests/ui/modulo_one.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/clippy/tests/ui/modulo_one.stderr b/src/tools/clippy/tests/ui/modulo_one.stderr index 34f762bbb92..03f460897fc 100644 --- a/src/tools/clippy/tests/ui/modulo_one.stderr +++ b/src/tools/clippy/tests/ui/modulo_one.stderr @@ -1,18 +1,18 @@ -error: this arithmetic operation will overflow +error: this operation will panic at runtime --> $DIR/modulo_one.rs:11:5 | LL | i32::MIN % (-1); // also caught by rustc | ^^^^^^^^^^^^^^^ attempt to compute the remainder of `i32::MIN % -1_i32`, which would overflow | - = note: `#[deny(arithmetic_overflow)]` on by default + = note: `#[deny(unconditional_panic)]` on by default -error: this arithmetic operation will overflow +error: this operation will panic at runtime --> $DIR/modulo_one.rs:21:5 | LL | INT_MIN % NEG_ONE; // also caught by rustc | ^^^^^^^^^^^^^^^^^ attempt to compute the remainder of `i64::MIN % -1_i64`, which would overflow -error: this arithmetic operation will overflow +error: this operation will panic at runtime --> $DIR/modulo_one.rs:22:5 | LL | INT_MIN % STATIC_NEG_ONE; // ONLY caught by rustc |
