We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12706c9 commit 8c0beadCopy full SHA for 8c0bead
src/libstd/macros.rs
@@ -99,7 +99,7 @@ macro_rules! panic {
99
});
100
($msg:expr) => ({
101
$crate::rt::begin_unwind(
102
- __unstable_rustc_ensure_not_fmt_string_literal!("unary `panic!`", $msg), {
+ __unstable_rustc_ensure_not_fmt_string_literal!("unary `panic!`", $msg).1, {
103
// static requires less code at runtime, more constant data
104
static _FILE_LINE: (&'static str, u32) = (file!(), line!());
105
&_FILE_LINE
0 commit comments