]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/unboxed-closures-wrong-abi.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / unboxed-closures-wrong-abi.rs
index ca15d1bb5eefc83f11278776d3d9ba9bbab47784..dd891bc473cef97a9216b307694fe45a8cd12f75 100644 (file)
@@ -22,19 +22,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() { }