Skip to content

Commit 984688a

Browse files
committed
Test more related cases
1 parent 6f83dcc commit 984688a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/test/ui/existential_types/generic_duplicate_param_use7.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ fn two<T: Debug + Copy, U>(t: T, u: U) -> Two<T, U> {
1414
fn three<T: Debug, U>(t: T, t2: T, u: U) -> Two<T, U> {
1515
(t, t2)
1616
}
17+
18+
fn four<T: Debug, U, V>(t: T, t2: T, u: U, v: V) -> Two<T, U> {
19+
(t, t2)
20+
}
21+
22+
fn five<X, Y: Debug>(x: X, y: Y, y2: Y) -> Two<Y, X> {
23+
(y, y2)
24+
}
25+

0 commit comments

Comments
 (0)