about summary refs log tree commit diff
path: root/tests/ui/consts/const-err-multi.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/const-err-multi.stderr')
-rw-r--r--tests/ui/consts/const-err-multi.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/consts/const-err-multi.stderr b/tests/ui/consts/const-err-multi.stderr
index c60be59b87d..712c160a2c0 100644
--- a/tests/ui/consts/const-err-multi.stderr
+++ b/tests/ui/consts/const-err-multi.stderr
@@ -1,8 +1,8 @@
-error[E0080]: evaluation of constant value failed
+error[E0080]: attempt to negate `i8::MIN`, which would overflow
   --> $DIR/const-err-multi.rs:1:19
    |
 LL | pub const A: i8 = -i8::MIN;
-   |                   ^^^^^^^^ attempt to negate `i8::MIN`, which would overflow
+   |                   ^^^^^^^^ evaluation of constant value failed
 
 note: erroneous constant encountered
   --> $DIR/const-err-multi.rs:4:19