]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/fn-returns-fn-pointer.rs
Point (again) to more expressions with their type, even if not fully resolved
[rust.git] / src / test / ui / parser / fn-returns-fn-pointer.rs
1 // check-pass
2 // Regression test for #78507.
3 fn foo() -> Option<fn() -> Option<bool>> {
4     Some(|| Some(true))
5 }
6 fn main() {}