]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.stderr
Auto merge of #86860 - fee1-dead:stabilize, r=LeSeulArtichaut
[rust.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    |             ^^^ -  - supplied 2 arguments
6    |             |
7    |             expected 1 argument
8    |
9 note: function defined here
10   --> $DIR/issue-4935.rs:3:4
11    |
12 LL | fn foo(a: usize) {}
13    |    ^^^ --------
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0061`.