about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/codemap.rs')
-rw-r--r--src/libsyntax/codemap.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index 6340e10429d..ae49e19c862 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -32,15 +32,6 @@ type filename = ~str;
 
 type file_pos = {ch: uint, byte: uint};
 
-#[cfg(stage0)]
-impl file_pos: cmp::Eq {
-    pure fn eq(&&other: file_pos) -> bool {
-        self.ch == other.ch && self.byte == other.byte
-    }
-    pure fn ne(&&other: file_pos) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl file_pos : cmp::Eq {
     pure fn eq(other: &file_pos) -> bool {
         self.ch == (*other).ch && self.byte == (*other).byte
@@ -180,15 +171,6 @@ type expn_info = Option<@expn_info_>;
 
 type span = {lo: uint, hi: uint, expn_info: expn_info};
 
-#[cfg(stage0)]
-impl span : cmp::Eq {
-    pure fn eq(&&other: span) -> bool {
-        return self.lo == other.lo && self.hi == other.hi;
-    }
-    pure fn ne(&&other: span) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl span : cmp::Eq {
     pure fn eq(other: &span) -> bool {
         return self.lo == (*other).lo && self.hi == (*other).hi;