]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/generic_duplicate_param_use8.stderr
Fix font color for help button in ayu and dark themes
[rust.git] / src / test / ui / type-alias-impl-trait / generic_duplicate_param_use8.stderr
1 error: concrete type differs from previous defining opaque type use
2   --> $DIR/generic_duplicate_param_use8.rs:13:1
3    |
4 LL | / fn three<T: Debug, U: Debug>(_: T, u: U) -> Two<T, U> {
5 LL | |
6 LL | |     (u, 4u32)
7 LL | | }
8    | |_^ expected `(T, u32)`, got `(U, u32)`
9    |
10 note: previous use here
11   --> $DIR/generic_duplicate_param_use8.rs:9:1
12    |
13 LL | / fn two<T: Debug, U: Debug>(t: T, _: U) -> Two<T, U> {
14 LL | |     (t, 4u32)
15 LL | | }
16    | |_^
17
18 error: aborting due to previous error
19