]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/unboxed-closures-wrong-arg-type-extern-fn.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / unboxed-closures-wrong-arg-type-extern-fn.rs
index b960362aad7cd36c3f0d97bafa4507b9087ad2cd..f9edd5df6739f22c88cae7b45fd719bd23038c35 100644 (file)
@@ -23,19 +23,19 @@ fn call_it_once<F:FnOnce(&isize)->isize>(_: F, _: isize) -> isize { 0 }
 
 fn a() {
     let x = call_it(&square, 22);
-    //~^ ERROR not implemented
-    //~| ERROR not implemented
+    //~^ ERROR E0277
+    //~| ERROR E0277
 }
 
 fn b() {
     let y = call_it_mut(&mut square, 22);
-    //~^ ERROR not implemented
-    //~| ERROR not implemented
+    //~^ ERROR E0277
+    //~| ERROR E0277
 }
 
 fn c() {
     let z = call_it_once(square, 22);
-    //~^ ERROR not implemented
+    //~^ ERROR E0277
 }
 
 fn main() { }