]> git.lizzy.rs Git - rust.git/blob - tests/source/issue_4943.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / issue_4943.rs
1 #![feature(generic_associated_types)]
2
3 impl SomeStruct {
4     fn process<T>(v: T) -> <Self as GAT>::R<T>
5     where Self: GAT<R<T> = T>
6     {
7         SomeStruct::do_something(v)
8     }
9 }