7 lines
127 B
Rust
7 lines
127 B
Rust
// check-pass
|
|
// Regression test for #78507.
|
|
fn foo() -> Option<fn() -> Option<bool>> {
|
|
Some(|| Some(true))
|
|
}
|
|
fn main() {}
|