]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-85347.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / suggestions / issue-85347.stderr
1 error[E0107]: this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
2   --> $DIR/issue-85347.rs:5:42
3    |
4 LL |     type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
5    |                                          ^^^ expected 1 lifetime argument
6    |
7 note: associated type defined here, with 1 lifetime parameter: `'a`
8   --> $DIR/issue-85347.rs:5:10
9    |
10 LL |     type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
11    |          ^^^ --
12 help: add missing lifetime argument
13    |
14 LL |     type Bar<'a>: Deref<Target = <Self>::Bar<'a, Target = Self>>;
15    |                                              ^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.