Files
rust/tests/ui/consts/const-eval/const-eval-query-stack.stderr
T
Esteban Küber 0efeec580a Mention crate being analysized in query description
"running analysis passes on this crate" -> "running analysis passes on crate `foo`"

This message is displayed in cycle errors in particular, and in some cases without any spans or any other identifiable information to determine which dependency introduced the cycle.
2025-10-31 21:20:08 +00:00

15 lines
525 B
Plaintext

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 crate `const_eval_query_stack`
end of query stack