diff options
Diffstat (limited to 'src/rustc/back')
| -rw-r--r-- | src/rustc/back/link.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustc/back/link.rs b/src/rustc/back/link.rs index e6380fd1be6..afd94e4f437 100644 --- a/src/rustc/back/link.rs +++ b/src/rustc/back/link.rs @@ -30,6 +30,7 @@ impl output_type : cmp::Eq { pure fn eq(&&other: output_type) -> bool { (self as uint) == (other as uint) } + pure fn ne(&&other: output_type) -> bool { !self.eq(other) } } fn llvm_err(sess: session, msg: ~str) -> ! unsafe { |
