about summary refs log tree commit diff
path: root/src/test/compile-fail/implicit-method-bind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/implicit-method-bind.rs')
-rw-r--r--src/test/compile-fail/implicit-method-bind.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/compile-fail/implicit-method-bind.rs b/src/test/compile-fail/implicit-method-bind.rs
index 6a9c3048052..e116966670d 100644
--- a/src/test/compile-fail/implicit-method-bind.rs
+++ b/src/test/compile-fail/implicit-method-bind.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::num::SignedInt;
-
 fn main() {
-    let _f = 10.abs; //~ ERROR attempted to take value of method
+    let _f = 10i32.abs; //~ ERROR attempted to take value of method
 }