about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-12-09 17:59:21 -0800
committerBrian Anderson <banderson@mozilla.com>2012-12-09 17:59:21 -0800
commit9723d3ac2ff5b008d207012ec5d37b2c69f402ed (patch)
tree35ad1b902932e98a5fd959f0615f79acc60589bb /src/libsyntax/codemap.rs
parent55a3a5fcc973663af3694f32be7a4df10a1a2cd1 (diff)
downloadrust-9723d3ac2ff5b008d207012ec5d37b2c69f402ed.tar.gz
rust-9723d3ac2ff5b008d207012ec5d37b2c69f402ed.zip
Remove transitional code
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 2473011be0d..6481785e61a 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -59,15 +59,6 @@ impl BytePos: cmp::Ord {
     pure fn gt(&self, other: &BytePos) -> bool { **self > **other }
 }
 
-#[cfg(stage0)]
-impl BytePos: Add<BytePos, BytePos> {
-    pure fn add(rhs: &BytePos) -> BytePos {
-        BytePos(*self + **rhs)
-    }
-}
-
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl BytePos: Add<BytePos, BytePos> {
     pure fn add(&self, rhs: &BytePos) -> BytePos {
         BytePos(**self + **rhs)
@@ -109,15 +100,6 @@ impl CharPos: to_bytes::IterBytes {
     }
 }
 
-#[cfg(stage0)]
-impl CharPos: Add<CharPos, CharPos> {
-    pure fn add(rhs: &CharPos) -> CharPos {
-        CharPos(*self + **rhs)
-    }
-}
-
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl CharPos: Add<CharPos, CharPos> {
     pure fn add(&self, rhs: &CharPos) -> CharPos {
         CharPos(**self + **rhs)