]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | error: non-defining opaque type use in defining scope |
6a06907d | 2 | --> $DIR/generic_duplicate_param_use2.rs:13:27 |
9fa01778 | 3 | | |
ba9703b0 XL |
4 | LL | fn one<T: Debug>(t: T) -> Two<T, T> { |
5 | | ^^^^^^^^^ | |
6 | | | |
7 | note: type used multiple times | |
6a06907d | 8 | --> $DIR/generic_duplicate_param_use2.rs:11:10 |
ba9703b0 XL |
9 | | |
10 | LL | type Two<T, U> = impl Debug; | |
11 | | ^ ^ | |
9fa01778 XL |
12 | |
13 | error: aborting due to previous error | |
14 |