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