Use correct conventions for static
This commit is contained in:
@@ -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)*)
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user