about summary refs log tree commit diff
path: root/src/test/run-pass/operator-overloading.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/operator-overloading.rs')
-rw-r--r--src/test/run-pass/operator-overloading.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/operator-overloading.rs b/src/test/run-pass/operator-overloading.rs
index 66783ad78e5..00e19b8481f 100644
--- a/src/test/run-pass/operator-overloading.rs
+++ b/src/test/run-pass/operator-overloading.rs
@@ -48,7 +48,7 @@ impl ops::Index<bool,int> for Point {
     }
 }
 
-impl cmp::Eq for Point {
+impl cmp::PartialEq for Point {
     fn eq(&self, other: &Point) -> bool {
         (*self).x == (*other).x && (*self).y == (*other).y
     }