mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
12 lines
442 B
Plaintext
12 lines
442 B
Plaintext
error: internal compiler error[E0080]: evaluation of constant value failed
|
|
--> $DIR/const-eval-query-stack.rs:16:16
|
|
|
|
|
LL | const X: i32 = 1 / 0;
|
|
| ^^^^^ attempt to divide `1_i32` by zero
|
|
|
|
query stack during panic:
|
|
#0 [eval_to_allocation_raw] const-evaluating + checking `X`
|
|
#1 [eval_to_const_value_raw] simplifying constant for the type system `X`
|
|
#2 [analysis] running analysis passes on this crate
|
|
end of query stack
|