]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[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