diff options
Diffstat (limited to 'src/rustc/metadata/decoder.rs')
| -rw-r--r-- | src/rustc/metadata/decoder.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rustc/metadata/decoder.rs b/src/rustc/metadata/decoder.rs index 181b8c6f104..c631e404472 100644 --- a/src/rustc/metadata/decoder.rs +++ b/src/rustc/metadata/decoder.rs @@ -129,15 +129,6 @@ enum Family { InheritedField // N } -#[cfg(stage0)] -impl Family : cmp::Eq { - pure fn eq(&&other: Family) -> bool { - (self as uint) == (other as uint) - } - pure fn ne(&&other: Family) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl Family : cmp::Eq { pure fn eq(other: &Family) -> bool { (self as uint) == ((*other) as uint) |
