rust/tests/crashes/119716-2.rs

5 lines
121 B
Rust
Raw Normal View History

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