rust/tests/target/issue_4943.rs
2021-09-02 20:53:15 -05:00

11 lines
193 B
Rust

#![feature(generic_associated_types)]
impl SomeStruct {
fn process<T>(v: T) -> <Self as GAT>::R<T>
where
Self: GAT<R<T> = T>,
{
SomeStruct::do_something(v)
}
}