2024-01-10 14:29:01 +11:00
|
|
|
error: internal compiler error[E0080]: evaluation of constant value failed
|
2023-02-07 19:17:24 +00:00
|
|
|
--> $DIR/const-eval-query-stack.rs:16:16
|
2021-01-01 14:47:45 +01:00
|
|
|
|
|
2022-09-21 13:05:20 +02:00
|
|
|
LL | const X: i32 = 1 / 0;
|
|
|
|
| ^^^^^ attempt to divide `1_i32` by zero
|
2022-02-16 10:56:01 +01:00
|
|
|
|
2024-03-15 19:09:24 +01:00
|
|
|
|
2024-04-09 13:58:52 +00:00
|
|
|
note: please make sure that you have updated to the latest nightly
|
|
|
|
|
2020-08-19 12:05:32 +02:00
|
|
|
query stack during panic:
|
2022-09-21 13:05:20 +02:00
|
|
|
#0 [eval_to_allocation_raw] const-evaluating + checking `X`
|
|
|
|
#1 [eval_to_const_value_raw] simplifying constant for the type system `X`
|
2024-02-14 12:28:07 +00:00
|
|
|
#2 [analysis] running analysis passes on this crate
|
2020-08-19 12:05:32 +02:00
|
|
|
end of query stack
|