]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-4935.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-4935.stderr
1 error[E0061]: this function takes 1 argument but 2 arguments were supplied
2 --> $DIR/issue-4935.rs:5:13
3 |
4 LL | fn main() { foo(5, 6) }
5 | ^^^ - argument unexpected
6 |
7 note: function defined here
8 --> $DIR/issue-4935.rs:3:4
9 |
10 LL | fn foo(a: usize) {}
11 | ^^^ --------
12 help: remove the extra argument
13 |
14 LL | fn main() { foo(5) }
15 | ~~~~~~
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0061`.