Test more related cases
This commit is contained in:
parent
6f83dcc192
commit
984688ace3
1 changed files with 9 additions and 0 deletions
|
|
@ -14,3 +14,12 @@ fn two<T: Debug + Copy, U>(t: T, u: U) -> Two<T, U> {
|
|||
fn three<T: Debug, U>(t: T, t2: T, u: U) -> Two<T, U> {
|
||||
(t, t2)
|
||||
}
|
||||
|
||||
fn four<T: Debug, U, V>(t: T, t2: T, u: U, v: V) -> Two<T, U> {
|
||||
(t, t2)
|
||||
}
|
||||
|
||||
fn five<X, Y: Debug>(x: X, y: Y, y2: Y) -> Two<Y, X> {
|
||||
(y, y2)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue