about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/opaques/select-alias-bound-as-param.rs
blob: fd40ef1f872f355a9f2150c9db24d2cd8116c9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass
//@ compile-flags: -Znext-solver

pub(crate) fn y() -> impl FnMut() {
    || {}
}

pub(crate) fn x(a: (), b: ()) {
    let x = ();
    y()()
}

fn main() {}