diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 26bb69943f8a5..5373008612bb3 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -33,8 +33,8 @@ macro_rules! fail( // up with the number of calls to fail!() #[inline(always)] fn run_fmt(fmt: &::std::fmt::Arguments) -> ! { - static file_line: (&'static str, uint) = (file!(), line!()); - ::core::failure::begin_unwind(fmt, &file_line) + static FILE_LINE: (&'static str, uint) = (file!(), line!()); + ::core::failure::begin_unwind(fmt, &FILE_LINE) } format_args!(run_fmt, $fmt, $($arg)*) });