about summary refs log tree commit diff
path: root/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
blob: 7a4c15f4d4b150d41a87e5f39fbbf6c48bd8f1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
//@[next] compile-flags: -Znext-solver
//@ check-pass

fn ice()
where
    for<'w> fn(&'w ()): Fn(&'w ()),
{
}

fn main() {
    ice();
}