]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | error: non-defining opaque type use in defining scope |
6a06907d | 2 | --> $DIR/issue-68368-non-defining-use.rs:11:15 |
dfeec247 XL |
3 | | |
4 | LL | fn f<'a>() -> Alias<'a, ()> {} | |
ba9703b0 XL |
5 | | ^^^^^^^^^^^^^ |
6 | | | |
7 | note: used non-generic type `()` for generic parameter | |
6a06907d | 8 | --> $DIR/issue-68368-non-defining-use.rs:10:16 |
dfeec247 XL |
9 | | |
10 | LL | type Alias<'a, U> = impl Trait<U>; | |
ba9703b0 | 11 | | ^ |
dfeec247 | 12 | |
ba9703b0 | 13 | error: aborting due to previous error |
dfeec247 | 14 |