]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/not-enough-arguments.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / not-enough-arguments.rs
index 1f5a54477dd6d0fa83f4597179b819deec94c5db..f2f61fcaeec16d5fdd97b11c8243ecf8209cbdb3 100644 (file)
@@ -19,5 +19,6 @@ fn foo(a: isize, b: isize, c: isize, d:isize) {
 fn main() {
   foo(1, 2, 3);
   //~^ ERROR this function takes 4 parameters but 3
-  //~^^ NOTE the following parameter types were expected
+  //~| NOTE the following parameter types were expected
+  //~| NOTE expected 4 parameters
 }