summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue_4943.rs
blob: 307d9a4a1aba195c5a342d9e2ae7bcf8e20c28ba (plain)
1
2
3
4
5
6
7
impl SomeStruct {
    fn process<T>(v: T) -> <Self as GAT>::R<T>
    where Self: GAT<R<T> = T>
    {
        SomeStruct::do_something(v)
    }
}