]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / ui / issues / issue-4935.rs
1 // Regression test for issue #4935
2
3 fn foo(a: usize) {}
4 //~^ defined here
5 fn main() { foo(5, 6) }
6 //~^ ERROR this function takes 1 argument but 2 arguments were supplied