about summary refs log tree commit diff
path: root/src/libsyntax/ext/pipes/proto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-20 02:46:36 -0700
committerbors <bors@rust-lang.org>2013-05-20 02:46:36 -0700
commit2e6cda254a2acdcd60efb62a27f69c7702b8f71e (patch)
treeba2b843a8a0cd261cf94b4e6ab017d0918841f3c /src/libsyntax/ext/pipes/proto.rs
parentab46a38039c320bd2011160fdd8a86828172d29e (diff)
parent66319b027888ceddf024a5919e007caceaf369f3 (diff)
downloadrust-2e6cda254a2acdcd60efb62a27f69c7702b8f71e.tar.gz
rust-2e6cda254a2acdcd60efb62a27f69c7702b8f71e.zip
auto merge of #6635 : brson/rust/snapshot, r=brson
Diffstat (limited to 'src/libsyntax/ext/pipes/proto.rs')
-rw-r--r--src/libsyntax/ext/pipes/proto.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libsyntax/ext/pipes/proto.rs b/src/libsyntax/ext/pipes/proto.rs
index f897eb787e5..7bf58bc6f32 100644
--- a/src/libsyntax/ext/pipes/proto.rs
+++ b/src/libsyntax/ext/pipes/proto.rs
@@ -100,21 +100,6 @@ pub impl state_ {
 
     /// Iterate over the states that can be reached in one message
     /// from this state.
-    #[cfg(stage0)]
-    fn reachable(&self, f: &fn(state) -> bool) {
-        for self.messages.each |m| {
-            match *m {
-              message(_, _, _, _, Some(next_state { state: ref id, _ })) => {
-                let state = self.proto.get_state((*id));
-                if !f(state) { break }
-              }
-              _ => ()
-            }
-        }
-    }
-    /// Iterate over the states that can be reached in one message
-    /// from this state.
-    #[cfg(not(stage0))]
     fn reachable(&self, f: &fn(state) -> bool) -> bool {
         for self.messages.each |m| {
             match *m {