diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-28 12:33:00 -0800 |
| commit | 8179e268efd86ae5c1bcf21b4f8d4e01eea7c193 (patch) | |
| tree | 7e3fd944a844a195a0ed1bed8717db07a2d8ccc8 /src/libsyntax/parse/parser.rs | |
| parent | be6613e048c889a0aeaff056131c2406259f1fb4 (diff) | |
| download | rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.tar.gz rust-8179e268efd86ae5c1bcf21b4f8d4e01eea7c193.zip | |
Register snapshots
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 382b572f33e..921fcfccc28 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3747,19 +3747,9 @@ impl Parser { } impl restriction : cmp::Eq { - #[cfg(stage0)] - pure fn eq(other: &restriction) -> bool { - (self as uint) == ((*other) as uint) - } - #[cfg(stage1)] - #[cfg(stage2)] pure fn eq(&self, other: &restriction) -> bool { ((*self) as uint) == ((*other) as uint) } - #[cfg(stage0)] - pure fn ne(other: &restriction) -> bool { !self.eq(other) } - #[cfg(stage1)] - #[cfg(stage2)] pure fn ne(&self, other: &restriction) -> bool { !(*self).eq(other) } } |
