blob: cf4535d6c2c6a9d62ba3052bcdd405bfaf324f01 [file] [log] [blame]
error: concrete type differs from previous defining existential type use
--> $DIR/generic_duplicate_param_use5.rs:14:1
|
LL | / fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
LL | |
LL | | (u, t)
LL | | }
| |_^ expected `(T, U)`, got `(U, T)`
|
note: previous use here
--> $DIR/generic_duplicate_param_use5.rs:10:1
|
LL | / fn two<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
LL | | (t, u)
LL | | }
| |_^
error: aborting due to previous error