summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/const_panic_track_caller.stderr
blob: 5c3b412d37fcc1752520abd7df779648c8e14705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: evaluation of constant value failed
  --> $DIR/const_panic_track_caller.rs:15:5
   |
LL |     b()
   |     ^^^
   |     |
   |     the evaluated program panicked at 'hey', $DIR/const_panic_track_caller.rs:15:5
   |     inside `c` at $DIR/const_panic_track_caller.rs:15:5
...
LL | const X: u32 = c();
   |                --- inside `X` at $DIR/const_panic_track_caller.rs:21:16

error: aborting due to previous error

For more information about this error, try `rustc --explain E0080`.