about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/const-eval-query-stack.stderr
blob: 96206dc5078bc609c686e1140bd8aa216d407ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: internal compiler error[E0080]: attempt to divide `1_i32` by zero
  --> $DIR/const-eval-query-stack.rs:16:16
   |
LL | const X: i32 = 1 / 0;
   |                ^^^^^ evaluation of `X` failed here


note: please make sure that you have updated to the latest nightly

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