]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/not-enough-arguments.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / not-enough-arguments.rs
index e13008df0d9b8f5c6ef344c1486f58dc1462ffb8..309283ed7f4fef9da4ff4d7ddb82cb707409dc4d 100644 (file)
@@ -1,24 +1,12 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // Check that the only error msg we report is the
 // mismatch between the # of params, and not other
 // unrelated errors.
 
 fn foo(a: isize, b: isize, c: isize, d:isize) {
-  //~^ NOTE defined here
   panic!();
 }
 
 fn main() {
   foo(1, 2, 3);
   //~^ ERROR this function takes 4 parameters but 3
-  //~| NOTE expected 4 parameters
 }