diff options
Diffstat (limited to 'src/libsyntax/diagnostic.rs')
| -rw-r--r-- | src/libsyntax/diagnostic.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libsyntax/diagnostic.rs b/src/libsyntax/diagnostic.rs index abeddbdd69a..ca9db6d25ad 100644 --- a/src/libsyntax/diagnostic.rs +++ b/src/libsyntax/diagnostic.rs @@ -146,15 +146,6 @@ enum level { note, } -#[cfg(stage0)] -impl level : cmp::Eq { - pure fn eq(&&other: level) -> bool { - (self as uint) == (other as uint) - } - pure fn ne(&&other: level) -> bool { !self.eq(other) } -} -#[cfg(stage1)] -#[cfg(stage2)] impl level : cmp::Eq { pure fn eq(other: &level) -> bool { (self as uint) == ((*other) as uint) |
