Function panic_cannot_unwind

Source
fn panic_cannot_unwind() -> !
🔬This is a nightly-only experimental API. (panic_internals)
Expand description

Panics because we cannot unwind out of a function.

This is a separate function to avoid the codesize impact of each crate containing the string to pass to panic_nounwind.

This function is called directly by the codegen backend, and must not have any extra arguments (including those synthesized by track_caller).