]>
Commit | Line | Data |
---|---|---|
1b1a35ee XL |
1 | error: non-defining opaque type use in defining scope |
2 | --> $DIR/not_a_defining_use.rs:9:27 | |
9fa01778 | 3 | | |
1b1a35ee XL |
4 | LL | fn two<T: Debug>(t: T) -> Two<T, u32> { |
5 | | ^^^^^^^^^^^ | |
9fa01778 | 6 | | |
1b1a35ee XL |
7 | note: used non-generic type `u32` for generic parameter |
8 | --> $DIR/not_a_defining_use.rs:7:13 | |
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 |