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