about summary refs log tree commit diff
path: root/src/libstd/json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/json.rs')
-rw-r--r--src/libstd/json.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/libstd/json.rs b/src/libstd/json.rs
index 6b80aa716a0..0f7bec6344a 100644
--- a/src/libstd/json.rs
+++ b/src/libstd/json.rs
@@ -676,17 +676,6 @@ pure fn lt(value0: Json, value1: Json) -> bool {
     }
 }
 
-#[cfg(stage0)]
-impl Error : Eq {
-    pure fn eq(&&other: Error) -> bool {
-        self.line == other.line &&
-        self.col == other.col &&
-        self.msg == other.msg
-    }
-    pure fn ne(&&other: Error) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl Error : Eq {
     pure fn eq(other: &Error) -> bool {
         self.line == (*other).line &&
@@ -696,27 +685,11 @@ impl Error : Eq {
     pure fn ne(other: &Error) -> bool { !self.eq(other) }
 }
 
-#[cfg(stage0)]
-impl Json : Eq {
-    pure fn eq(&&other: Json) -> bool { eq(self, other) }
-    pure fn ne(&&other: Json) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl Json : Eq {
     pure fn eq(other: &Json) -> bool { eq(self, (*other)) }
     pure fn ne(other: &Json) -> bool { !self.eq(other) }
 }
 
-#[cfg(stage0)]
-impl Json : Ord {
-    pure fn lt(&&other: Json) -> bool { lt(self, other) }
-    pure fn le(&&other: Json) -> bool { !other.lt(self) }
-    pure fn ge(&&other: Json) -> bool { !self.lt(other) }
-    pure fn gt(&&other: Json) -> bool { other.lt(self)  }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl Json : Ord {
     pure fn lt(other: &Json) -> bool { lt(self, (*other))  }
     pure fn le(other: &Json) -> bool { !(*other).lt(&self) }