]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.stderr
Auto merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
[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:15:13
3    |
4 LL | fn foo(a: usize) {}
5    | ---------------- defined here
6 LL | //~^ defined here
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`.