]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-4935.stderr
1 error[E0061]: this function takes 1 parameter but 2 parameters were supplied
2   --> $DIR/issue-4935.rs:5:13
3    |
4 LL | fn foo(a: usize) {}
5    | ---------------- defined here
6 LL |
7 LL | fn main() { foo(5, 6) }
8    |             ^^^^^^^^^ expected 1 parameter
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0061`.