2021-06-15 23:16:10 +00:00
error[E0080]: evaluation of constant value failed
2021-06-08 18:23:58 +00:00
--> $DIR/unwind-abort.rs:4:5
2020-10-03 22:09:43 +00:00
|
2022-11-29 13:10:42 +00:00
LL | panic!()
| ^^^^^^^^ the evaluated program panicked at 'explicit panic', $DIR/unwind-abort.rs:4:5
|
note: inside `foo`
--> $DIR/unwind-abort.rs:4:5
|
2020-10-03 22:09:43 +00:00
LL | panic!()
2020-12-02 11:49:11 +00:00
| ^^^^^^^^
2022-11-29 13:10:42 +00:00
note: inside `_`
--> $DIR/unwind-abort.rs:7:15
2020-10-03 22:09:43 +00:00
|
2022-11-29 13:10:42 +00:00
LL | const _: () = foo();
| ^^^^^
2022-06-21 02:25:52 +00:00
= 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)
2020-10-03 22:09:43 +00:00
2020-12-02 11:49:11 +00:00
error: aborting due to previous error
2020-10-03 22:09:43 +00:00
2021-05-26 01:54:59 +00:00
For more information about this error, try `rustc --explain E0080`.