]> git.lizzy.rs Git - rust.git/blob - src/test/ui/functions-closures/fn-type-infer.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / functions-closures / fn-type-infer.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 #![allow(unused_variables)]
5
6 pub fn main() {
7     // We should be able to type infer inside of ||s.
8     let _f = || {
9         let i = 10;
10     };
11 }