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/ext/pipes/proto.rs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/pipes/proto.rs b/src/libsyntax/ext/pipes/proto.rs index 5ddc492d0fb..70b38e83ad5 100644 --- a/src/libsyntax/ext/pipes/proto.rs +++ b/src/libsyntax/ext/pipes/proto.rs @@ -5,20 +5,6 @@ use ast_builder::{path, append_types}; enum direction { send, recv } -#[cfg(stage0)] -impl direction : cmp::Eq { - pure fn eq(&&other: direction) -> bool { - match (self, other) { - (send, send) => true, - (recv, recv) => true, - (send, _) => false, - (recv, _) => false, - } - } - pure fn ne(&&other: direction) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl direction : cmp::Eq { pure fn eq(other: &direction) -> bool { match (self, (*other)) { -- cgit 1.4.1-3-g733a5