]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16939.rs
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / issues / issue-16939.rs
1 // Make sure we don't ICE when making an overloaded call with the
2 // wrong arity.
3
4 fn _foo<F: Fn()> (f: F) {
5     |t| f(t); //~ ERROR E0057
6 }
7
8 fn main() {}