error[E0080]: evaluation of constant value failed
--> $DIR/ctfe-tail-call-panic.rs:13:15
|
LL | const _: () = f();
| ^^^ evaluation panicked: explicit panic
note: inside `g`
--> $DIR/ctfe-tail-call-panic.rs:9:5
LL | panic!()
| ^^^^^^^^ the failure occurred here
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.