]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/E0130.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / E0130.rs
index ef5961e133894d37c90103238f9cbb280d64fd58..e9e027fd1dc1972aea32aabfc7005274dd2c4f76 100644 (file)
@@ -9,7 +9,9 @@
 // except according to those terms.
 
 extern {
-    fn foo((a, b): (u32, u32)); //~ ERROR E0130
+    fn foo((a, b): (u32, u32));
+    //~^ ERROR E0130
+    //~| NOTE pattern not allowed in foreign function
 }
 
 fn main() {