1 error[E0107]: this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
2 --> $DIR/issue-85347.rs:3:42
4 LL | type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
5 | ^^^ expected 1 lifetime argument
7 note: associated type defined here, with 1 lifetime parameter: `'a`
8 --> $DIR/issue-85347.rs:3:10
10 LL | type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
12 help: add missing lifetime argument
14 LL | type Bar<'a>: Deref<Target = <Self>::Bar<'a, Target = Self>>;
17 error[E0229]: associated type bindings are not allowed here
18 --> $DIR/issue-85347.rs:3:46
20 LL | type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
21 | ^^^^^^^^^^^^^ associated type not allowed here
23 error: aborting due to 2 previous errors
25 Some errors have detailed explanations: E0107, E0229.
26 For more information about an error, try `rustc --explain E0107`.