diff options
Diffstat (limited to 'src/test/ui/consts/const-eval/const_panic_track_caller.stderr')
-rw-r--r-- | src/test/ui/consts/const-eval/const_panic_track_caller.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/consts/const-eval/const_panic_track_caller.stderr b/src/test/ui/consts/const-eval/const_panic_track_caller.stderr new file mode 100644 index 000000000..5c3b412d3 --- /dev/null +++ b/src/test/ui/consts/const-eval/const_panic_track_caller.stderr @@ -0,0 +1,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`. |