summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-88595.stderr
blob: bcefc8066851486ccbcfe9fdba26dc96b7305d8a (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:20:35
   |
LL |     fn a(&'a self) -> Self::B<'a> {}
   |                                   ^^
   |
note: lifetime used multiple times
  --> $DIR/issue-88595.rs:17:6
   |
LL | impl<'a> A<'a> for C {
   |      ^^
LL |     type B<'b> = impl Clone;
   |            ^^

error: aborting due to previous error