rust/tests/source/issue_5721.rs

9 lines
141 B
Rust
Raw Normal View History

2023-07-19 15:50:00 -05:00
#![feature(non_lifetime_binders)]
#![allow(incomplete_features)]
trait Other<U: ?Sized> {}
trait Trait<U>
where
for<T> U: Other<T> {}