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