about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 490808edaad..2ffe69c8b10 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3657,15 +3657,6 @@ impl parser {
     }
 }
 
-#[cfg(stage0)]
-impl restriction : cmp::Eq {
-    pure fn eq(&&other: restriction) -> bool {
-        (self as uint) == (other as uint)
-    }
-    pure fn ne(&&other: restriction) -> bool { !self.eq(other) }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl restriction : cmp::Eq {
     pure fn eq(other: &restriction) -> bool {
         (self as uint) == ((*other) as uint)