]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-eval/unwind-abort.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / unwind-abort.stderr
1 error[E0080]: evaluation of constant value failed
2 --> $DIR/unwind-abort.rs:5:5
3 |
4 LL | panic!()
5 | ^^^^^^^^
6 | |
7 | the evaluated program panicked at 'explicit panic', $DIR/unwind-abort.rs:5:5
8 | inside `foo` at $SRC_DIR/std/src/panic.rs:LL:COL
9 ...
10 LL | const _: () = foo();
11 | ----- inside `_` at $DIR/unwind-abort.rs:8:15
12 |
13 = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0080`.