]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
136023e0 1error[E0080]: evaluation of constant value failed
2b03887a 2 --> $DIR/panic-never-type.rs:4:17
60c5eb7d
XL
3 |
4LL | const VOID: ! = panic!();
2b03887a 5 | ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/panic-never-type.rs:4:17
60c5eb7d 6 |
064997fb 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)
60c5eb7d 8
17df50a5 9error: aborting due to previous error
60c5eb7d
XL
10
11For more information about this error, try `rustc --explain E0080`.