]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue_4943.rs
Rollup merge of #97240 - TaKO8Ki:improve-errors-about-typos-on-variables, r=compiler...
[rust.git] / src / tools / rustfmt / 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 }