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