//@ check-pass // Regression test for #78507. fn foo() -> Option Option> { Some(|| Some(true)) } fn main() {}