2025-05-28 10:29:08 +00:00
|
|
|
error[E0080]: attempt to negate `i8::MIN`, which would overflow
|
2022-09-21 13:05:20 +02:00
|
|
|
--> $DIR/const-eval-overflow-2.rs:11:25
|
|
|
|
|
|
|
|
|
|
|
LL | const NEG_NEG_128: i8 = -NEG_128;
|
2025-06-07 11:32:09 +02:00
|
|
|
| ^^^^^^^^ evaluation of `NEG_NEG_128` failed here
|
2022-09-21 13:05:20 +02:00
|
|
|
|
2024-11-20 02:37:56 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-06-04 11:06:04 -04:00
|
|
|
|
2022-09-21 13:05:20 +02:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|