fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
530 B13 linesraw
1error[E0080]: evaluation of constant value failed
2  --> $DIR/const-eval-query-stack.rs:16:16
3   |
4LL | const X: i32 = 1 / 0;
5   |                ^^^^^ attempt to divide `1_i32` by zero
6
7query 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
13end of query stack