blob: 79d3479af8c8fa1955259547939754e08d31f528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
error: non-defining opaque type use in defining scope
--> $DIR/issue-88595.rs:21:35
|
LL | fn a(&'a self) -> Self::B<'a> {}
| ^^
|
note: lifetime used multiple times
--> $DIR/issue-88595.rs:18:6
|
LL | impl<'a> A<'a> for C {
| ^^
LL | type B<'b> = impl Clone;
| ^^
error: aborting due to previous error
|