blob: 4d0b03ba5ed65f416e7dc2d98efc2e1cd7b3a827 [file] [log] [blame]
error: concrete type differs from previous defining opaque type use
--> $DIR/generic_duplicate_param_use9.rs:18:1
|
LL | / fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
LL | | (t, u, 42)
LL | | }
| |_^ expected `(A, B, <A as Foo>::Bar)`, got `(A, B, i32)`
|
note: previous use here
--> $DIR/generic_duplicate_param_use9.rs:14:1
|
LL | / fn two<T: Debug + Foo, U: Debug>(t: T, u: U) -> Two<T, U> {
LL | | (t, u, T::BAR)
LL | | }
| |_^
error: aborting due to previous error