diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-07-28 13:40:55 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-07-28 13:40:55 -0700 |
| commit | f49f1575aa83a20e6cf9cb79b36d0bf02f2b28d5 (patch) | |
| tree | fc2a7843e97a24eb890360f8be6c7facdccbe186 /src | |
| parent | 53f0eae3866f5b4708e9f34b009df843f91136d7 (diff) | |
| download | rust-f49f1575aa83a20e6cf9cb79b36d0bf02f2b28d5.tar.gz rust-f49f1575aa83a20e6cf9cb79b36d0bf02f2b28d5.zip | |
Use correct conventions for static
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index 26bb69943f8..5373008612b 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)*) }); |
