1
Fork 0

Use correct conventions for static

This commit is contained in:
Brian Anderson 2014-07-28 13:40:55 -07:00
parent 53f0eae386
commit f49f1575aa

View file

@ -33,8 +33,8 @@ macro_rules! fail(
// up with the number of calls to fail!() // up with the number of calls to fail!()
#[inline(always)] #[inline(always)]
fn run_fmt(fmt: &::std::fmt::Arguments) -> ! { fn run_fmt(fmt: &::std::fmt::Arguments) -> ! {
static file_line: (&'static str, uint) = (file!(), line!()); static FILE_LINE: (&'static str, uint) = (file!(), line!());
::core::failure::begin_unwind(fmt, &file_line) ::core::failure::begin_unwind(fmt, &FILE_LINE)
} }
format_args!(run_fmt, $fmt, $($arg)*) format_args!(run_fmt, $fmt, $($arg)*)
}); });