Skip to content

Commit 8c0bead

Browse files
committed
bug fix.
1 parent 12706c9 commit 8c0bead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ macro_rules! panic {
9999
});
100100
($msg:expr) => ({
101101
$crate::rt::begin_unwind(
102-
__unstable_rustc_ensure_not_fmt_string_literal!("unary `panic!`", $msg), {
102+
__unstable_rustc_ensure_not_fmt_string_literal!("unary `panic!`", $msg).1, {
103103
// static requires less code at runtime, more constant data
104104
static _FILE_LINE: (&'static str, u32) = (file!(), line!());
105105
&_FILE_LINE

0 commit comments

Comments
 (0)