]> git.proxmox.com Git - rustc.git/blob - tests/ui/consts/const-eval/panic-never-type.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / consts / const-eval / panic-never-type.stderr
1 error[E0080]: evaluation of constant value failed
2 --> $DIR/panic-never-type.rs:4:17
3 |
4 LL | const VOID: ! = panic!();
5 | ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/panic-never-type.rs:4:17
6 |
7 = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0080`.