14 lines
172 B
Rust
14 lines
172 B
Rust
//@ check-pass
|
|
//@ compile-flags: -Znext-solver
|
|
|
|
pub(crate) fn y() -> impl FnMut() {
|
|
|| {}
|
|
}
|
|
|
|
pub(crate) fn x(a: (), b: ()) {
|
|
let x = ();
|
|
y()()
|
|
}
|
|
|
|
fn main() {}
|