rust/tests/crashes/119716-2.rs

5 lines
124 B
Rust
Raw Normal View History

//@ known-bug: #119716
#![feature(non_lifetime_binders)]
trait Trait<T> {}
fn f<T>() -> impl for<T> Trait<impl Trait<T>> {}