rust/tests/source/issue_5721.rs

9 lines
141 B
Rust

#![feature(non_lifetime_binders)]
#![allow(incomplete_features)]
trait Other<U: ?Sized> {}
trait Trait<U>
where
for<T> U: Other<T> {}