Use correct conventions for static
This commit is contained in:
parent
53f0eae386
commit
f49f1575aa
1 changed files with 2 additions and 2 deletions
|
@ -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)*)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue