about summary refs log tree commit diff
path: root/src/test/run-pass/class-impl-very-parameterized-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/class-impl-very-parameterized-trait.rs')
-rw-r--r--src/test/run-pass/class-impl-very-parameterized-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/class-impl-very-parameterized-trait.rs b/src/test/run-pass/class-impl-very-parameterized-trait.rs
index 285566570b1..865984844c0 100644
--- a/src/test/run-pass/class-impl-very-parameterized-trait.rs
+++ b/src/test/run-pass/class-impl-very-parameterized-trait.rs
@@ -14,7 +14,7 @@ use std::cmp;
 #[deriving(Show)]
 enum cat_type { tuxedo, tabby, tortoiseshell }
 
-impl cmp::Eq for cat_type {
+impl cmp::PartialEq for cat_type {
     fn eq(&self, other: &cat_type) -> bool {
         ((*self) as uint) == ((*other) as uint)
     }