summary refs log tree commit diff
path: root/src/libsyntax/ast_map.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/ast_map.rs')
-rw-r--r--src/libsyntax/ast_map.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libsyntax/ast_map.rs b/src/libsyntax/ast_map.rs
index 85de1e1c60f..9a3e94b737f 100644
--- a/src/libsyntax/ast_map.rs
+++ b/src/libsyntax/ast_map.rs
@@ -11,28 +11,6 @@ enum path_elt {
     path_name(ident)
 }
 
-#[cfg(stage0)]
-impl path_elt : cmp::Eq {
-    pure fn eq(&&other: path_elt) -> bool {
-        match self {
-            path_mod(e0a) => {
-                match other {
-                    path_mod(e0b) => e0a == e0b,
-                    _ => false
-                }
-            }
-            path_name(e0a) => {
-                match other {
-                    path_name(e0b) => e0a == e0b,
-                    _ => false
-                }
-            }
-        }
-    }
-    pure fn ne(&&other: path_elt) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl path_elt : cmp::Eq {
     pure fn eq(other: &path_elt) -> bool {
         match self {