about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@mozilla.com>2013-02-14 17:33:16 -0800
committerNick Desaulniers <ndesaulniers@mozilla.com>2013-02-14 17:33:16 -0800
commit13fe167dbb5a89f9cfad8b71e2c30e3b836aeb48 (patch)
treed92d2b2a80c4dc8dbed929df911bad73a038291e /src/libsyntax
parent4699ac67c6b48331852f3960430a3c8cfcaf7b90 (diff)
downloadrust-13fe167dbb5a89f9cfad8b71e2c30e3b836aeb48.tar.gz
rust-13fe167dbb5a89f9cfad8b71e2c30e3b836aeb48.zip
remove die definition and use in doc tests
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/expand.rs9
1 files changed, 0 insertions, 9 deletions
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!())