]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16939.rs
Rollup merge of #97149 - ChrisDenton:win_async_pipes, r=m-ou-se
[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() {}