]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/implicit-method-bind.rs
Imported Upstream version 1.0.0~beta.3
[rustc.git] / src / test / compile-fail / implicit-method-bind.rs
index 7946510c45903b4b24b122c499c49e4d84974e5a..e116966670d2b7bda22c03def4a8c3f930e065f3 100644 (file)
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 fn main() {
-    let _f = 10.times; //~ ERROR attempted to take value of method
+    let _f = 10i32.abs; //~ ERROR attempted to take value of method
 }