From afd91f8a5698e7767ddfbf90c665c08dcd4f0de0 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 23 Sep 2012 22:25:43 -0700 Subject: Register snapshots. Remove redundant Eq impls, Makefile hacks --- src/libsyntax/ast_map.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/libsyntax/ast_map.rs') 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 { -- cgit 1.4.1-3-g733a5