pub const fn panic_str_2015(expr: &str) -> !
🔬This is a nightly-only experimental API. (
panic_internals
)Expand description
This exists solely for the 2015 edition panic!
macro to trigger
a lint on panic!(my_str_variable);
.