summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue_4943.rs
blob: 0793b7b4fe1cca55947c31fbf259d15a3e8175e6 (plain)
1
2
3
4
5
6
7
8
9
#![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)
    }
}