about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-03-02 19:20:27 -0500
committerRalf Jung <post@ralfj.de>2022-03-02 19:20:27 -0500
commit24fc1151ee5b7d94f38d6e5981fbbb37b8210105 (patch)
tree6a50e97f5bcf225babffcfb9cb9ada4f021e7773
parent6739299d18a16851140bc6b24b8eeae31e3d5878 (diff)
downloadrust-24fc1151ee5b7d94f38d6e5981fbbb37b8210105.tar.gz
rust-24fc1151ee5b7d94f38d6e5981fbbb37b8210105.zip
bless clippy
-rw-r--r--src/tools/clippy/tests/ui/modulo_one.stderr8
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