1 2 3 4 5 6
// check-pass // Regression test for #78507. fn foo() -> Option<fn() -> Option<bool>> { Some(|| Some(true)) } fn main() {}