diff options
Diffstat (limited to 'src/test/run-pass/const-struct.rs')
| -rw-r--r-- | src/test/run-pass/const-struct.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/test/run-pass/const-struct.rs b/src/test/run-pass/const-struct.rs index 4508295b1cc..0a83d007a06 100644 --- a/src/test/run-pass/const-struct.rs +++ b/src/test/run-pass/const-struct.rs @@ -13,7 +13,7 @@ use std::cmp; #[deriving(Show)] struct foo { a: int, b: int, c: int } -impl cmp::Eq for foo { +impl cmp::PartialEq for foo { fn eq(&self, other: &foo) -> bool { (*self).a == (*other).a && (*self).b == (*other).b && | 
