about summary refs log tree commit diff
path: root/src/compiletest/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest/common.rs')
-rw-r--r--src/compiletest/common.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs
index 01b657c9c2d..3527dbe2f10 100644
--- a/src/compiletest/common.rs
+++ b/src/compiletest/common.rs
@@ -1,14 +1,5 @@
 enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
 
-#[cfg(stage0)]
-impl mode : cmp::Eq {
-    pure fn eq(&&other: mode) -> bool {
-        other as int == self as int
-    }
-    pure fn ne(&&other: mode) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl mode : cmp::Eq {
     pure fn eq(other: &mode) -> bool {
         (*other) as int == self as int