Skip to content

Commit d19f69c

Browse files
cowboy-bebugcalebcartwright
authored andcommitted
test: add missing source for #4943
1 parent c71c68c commit d19f69c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Diff for: tests/source/issue_4943.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
}

Diff for: tests/target/issue_4943.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![feature(generic_associated_types)]
2+
13
impl SomeStruct {
24
fn process<T>(v: T) -> <Self as GAT>::R<T>
35
where

0 commit comments

Comments
 (0)