diff options
| author | Florian Hahn <flo@fhahn.com> | 2014-09-21 23:25:24 +0200 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2014-09-24 23:44:00 +0200 |
| commit | 45f4081e61a1a15e2b5b9c5a09976fddffdac9dc (patch) | |
| tree | 54fd18241b68a76fb3a77abde4dae4fecb89a28f /src/libcore/macros.rs | |
| parent | 9a01da9460a9e7a8be88896e9da0306fd47823a1 (diff) | |
Rename `core::failure::begin_unwind` to `fail_impl`, refs #16114
Diffstat (limited to 'src/libcore/macros.rs')
| -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 e846f8dbeb4..ccc5f8651e9 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -18,7 +18,7 @@ macro_rules! fail( ); ($msg:expr) => ({ static _FILE_LINE: (&'static str, uint) = (file!(), line!()); - ::core::failure::begin_unwind_string($msg, &_FILE_LINE) + ::core::failure::fail_impl_string($msg, &_FILE_LINE) }); ($fmt:expr, $($arg:tt)*) => ({ // a closure can't have return type !, so we need a full @@ -40,7 +40,7 @@ macro_rules! 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) + ::core::failure::fail_impl(fmt, &_FILE_LINE) } format_args!(_run_fmt, $fmt, $($arg)*) }); |
