]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-88595.stderr
Rollup merge of #104024 - noeddl:unused-must-use, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / issue-88595.stderr
1 error: non-defining opaque type use in defining scope
2   --> $DIR/issue-88595.rs:20:35
3    |
4 LL |     fn a(&'a self) -> Self::B<'a> {}
5    |                                   ^^
6    |
7 note: lifetime used multiple times
8   --> $DIR/issue-88595.rs:17:6
9    |
10 LL | impl<'a> A<'a> for C {
11    |      ^^
12 LL |     type B<'b> = impl Clone;
13    |            ^^
14
15 error: aborting due to previous error
16