From 13fe167dbb5a89f9cfad8b71e2c30e3b836aeb48 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Thu, 14 Feb 2013 17:33:16 -0800 Subject: remove die definition and use in doc tests --- src/libsyntax/ext/expand.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 17197f64c55..85821ae6d82 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -287,15 +287,6 @@ pub fn core_macros() -> ~str { macro_rules! debug ( ($( $arg:expr ),+) => ( log(::core::debug, fmt!( $($arg),+ )) )) - macro_rules! die( - ($msg: expr) => ( - ::core::sys::begin_unwind($msg, file!().to_owned(), line!()) - ); - () => ( - fail!(~\"explicit failure\") - ) - ) - macro_rules! fail( ($msg: expr) => ( ::core::sys::begin_unwind($msg, file!().to_owned(), line!()) -- cgit 1.4.1-3-g733a5