1 error[E0061]: this function takes 1 argument but 2 arguments were supplied
2 --> $DIR/issue-4935.rs:5:13
4 LL | fn main() { foo(5, 6) }
5 | ^^^ - - supplied 2 arguments
9 note: function defined here
10 --> $DIR/issue-4935.rs:3:4
12 LL | fn foo(a: usize) {}
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0061`.