rust/tests/ui/higher-ranked/trait-bounds/fn-ptr.rs
2024-04-01 22:48:23 -04:00

15 lines
221 B
Rust

//@ 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();
}