rust/tests/crashes/108814.rs

10 lines
132 B
Rust
Raw Normal View History

//@ known-bug: #108814
#![feature(non_lifetime_binders)]
fn take(_: impl for<T> FnOnce(T) -> T) {}
fn main() {
take(|x| x)
}