about summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-16.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/task-comm-16.rs')
-rw-r--r--src/test/run-pass/task-comm-16.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/task-comm-16.rs b/src/test/run-pass/task-comm-16.rs
index 18336a60318..9263cd1d485 100644
--- a/src/test/run-pass/task-comm-16.rs
+++ b/src/test/run-pass/task-comm-16.rs
@@ -52,7 +52,7 @@ enum t {
     tag3(int, u8, char)
 }
 
-impl cmp::Eq for t {
+impl cmp::PartialEq for t {
     fn eq(&self, other: &t) -> bool {
         match *self {
             tag1 => {