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