1 error: reaching this expression at runtime will panic or abort
2 --> $DIR/const-eval-query-stack.rs:19:28
4 LL | let x: &'static i32 = &(1 / 0);
9 = note: `#[deny(const_err)]` on by default
11 query stack during panic:
12 #0 [const_eval_raw] const-evaluating `main::promoted[1]`
13 #1 [const_eval_validated] const-evaluating + checking `main::promoted[1]`
14 #2 [const_eval_validated] const-evaluating + checking `main::promoted[1]`
15 #3 [normalize_generic_arg_after_erasing_regions] normalizing `main::promoted[1]`
16 #4 [optimized_mir] optimizing MIR for `main`
17 #5 [collect_and_partition_mono_items] collect_and_partition_mono_items