]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/const-eval-query-stack.stderr
Rollup merge of #75837 - GuillaumeGomez:fix-font-color-help-button, r=Cldfire
[rust.git] / src / test / ui / consts / const-eval / const-eval-query-stack.stderr
1 error: reaching this expression at runtime will panic or abort
2   --> $DIR/const-eval-query-stack.rs:19:28
3    |
4 LL |     let x: &'static i32 = &(1 / 0);
5    |                           -^^^^^^^
6    |                            |
7    |                            dividing by zero
8    |
9    = note: `#[deny(const_err)]` on by default
10
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
18 end of query stack