]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/issue-99565.rs
Rollup merge of #106763 - lenko-d:106659-Print_why_a_test_was_ignored_if_its_the_only...
[rust.git] / tests / ui / closures / issue-99565.rs
1 #![crate_type = "lib"]
2
3 fn foo<T, U>(_: U) {}
4
5 fn bar() {
6     foo(|| {}); //~ ERROR type annotations needed
7 }