about summary refs log tree commit diff
path: root/src/libcoretest/cmp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcoretest/cmp.rs')
-rw-r--r--src/libcoretest/cmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/cmp.rs b/src/libcoretest/cmp.rs
index 2e5c6fe5a2f..9ed1508c3eb 100644
--- a/src/libcoretest/cmp.rs
+++ b/src/libcoretest/cmp.rs
@@ -114,7 +114,7 @@ fn test_user_defined_eq() {
 
     // Our type.
     struct SketchyNum {
-        num : int
+        num : isize
     }
 
     // Our implementation of `PartialEq` to support `==` and `!=`.