]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-eval/const-eval-query-stack.stderr
Tweak ICE message
[rust.git] / tests / ui / consts / const-eval / const-eval-query-stack.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/const-eval-query-stack.rs:16:16
3    |
4 LL | const X: i32 = 1 / 0;
5    |                ^^^^^ attempt to divide `1_i32` by zero
6
7 query stack during panic:
8 #0 [eval_to_allocation_raw] const-evaluating + checking `X`
9 #1 [eval_to_const_value_raw] simplifying constant for the type system `X`
10 #2 [eval_to_const_value_raw] simplifying constant for the type system `X`
11 #3 [lint_mod] linting top-level module
12 #4 [analysis] running analysis passes on this crate
13 end of query stack