rust/tests/source/issue_4943.rs
2022-08-30 23:06:24 -04:00

8 lines
145 B
Rust

impl SomeStruct {
fn process<T>(v: T) -> <Self as GAT>::R<T>
where Self: GAT<R<T> = T>
{
SomeStruct::do_something(v)
}
}