]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-4935.rs
Enable full revision in const generics ui tests
[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