]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/generic_duplicate_param_use5.stderr
Rollup merge of #75837 - GuillaumeGomez:fix-font-color-help-button, r=Cldfire
[rust.git] / src / test / ui / type-alias-impl-trait / generic_duplicate_param_use5.stderr
1 error: concrete type differs from previous defining opaque type use
2   --> $DIR/generic_duplicate_param_use5.rs:14:1
3    |
4 LL | fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(T, U)`, got `(U, T)`
6    |
7 note: previous use here
8   --> $DIR/generic_duplicate_param_use5.rs:10:1
9    |
10 LL | fn two<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14