2021-06-15 19:16:10 -04:00
error[E0080]: evaluation of constant value failed
2021-06-08 11:23:58 -07:00
--> $DIR/unwind-abort.rs:4:5
2020-10-03 15:09:43 -07: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 15:09:43 -07:00
LL | panic!()
2020-12-02 17:19:11 +05:30
| ^^^^^^^^
2022-11-29 13:10:42 +00:00
note: inside `_`
--> $DIR/unwind-abort.rs:7:15
2020-10-03 15:09:43 -07:00
|
2022-11-29 13:10:42 +00:00
LL | const _: () = foo();
| ^^^^^
2022-06-20 19:25:52 -07: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 15:09:43 -07:00
2023-11-21 15:44:16 +00:00
error: aborting due to 1 previous error
2020-10-03 15:09:43 -07:00
2021-05-25 20:54:59 -05:00
For more information about this error, try `rustc --explain E0080`.