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, 2 insertions, 0 deletions
diff --git a/src/libcoretest/cmp.rs b/src/libcoretest/cmp.rs
index 59ce73fe40d..716300f652d 100644
--- a/src/libcoretest/cmp.rs
+++ b/src/libcoretest/cmp.rs
@@ -109,6 +109,8 @@ fn test_partial_max() {
 
 #[test]
 fn test_user_defined_eq() {
+    use core::num::SignedInt;
+
     // Our type.
     struct SketchyNum {
         num : int