rust/tests/ui/traits/next-solver/select-alias-bound-as-param.rs
2024-05-06 14:38:35 -04:00

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() {}