rust/tests/crashes/108814.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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