Skip to content

Commit f49f157

Browse files
committed
Use correct conventions for static
1 parent 53f0eae commit f49f157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ macro_rules! fail(
3333
// up with the number of calls to fail!()
3434
#[inline(always)]
3535
fn run_fmt(fmt: &::std::fmt::Arguments) -> ! {
36-
static file_line: (&'static str, uint) = (file!(), line!());
37-
::core::failure::begin_unwind(fmt, &file_line)
36+
static FILE_LINE: (&'static str, uint) = (file!(), line!());
37+
::core::failure::begin_unwind(fmt, &FILE_LINE)
3838
}
3939
format_args!(run_fmt, $fmt, $($arg)*)
4040
});

0 commit comments

Comments
 (0)