about summary refs log tree commit diff
path: root/src/test/run-pass/expr-match-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-match-struct.rs')
-rw-r--r--src/test/run-pass/expr-match-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-match-struct.rs b/src/test/run-pass/expr-match-struct.rs
index 93f0575b5a0..3d01c6653a7 100644
--- a/src/test/run-pass/expr-match-struct.rs
+++ b/src/test/run-pass/expr-match-struct.rs
@@ -23,7 +23,7 @@ fn test_rec() {
 #[deriving(Show)]
 enum mood { happy, sad, }
 
-impl Eq for mood {
+impl PartialEq for mood {
     fn eq(&self, other: &mood) -> bool {
         ((*self) as uint) == ((*other) as uint)
     }