2021-05-16 16:33:41 +00:00
|
|
|
error[E0107]: this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
|
2022-05-04 14:22:19 +00:00
|
|
|
--> $DIR/issue-85347.rs:3:42
|
2021-05-16 16:33:41 +00:00
|
|
|
|
|
|
|
|
LL | type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
|
|
|
|
| ^^^ expected 1 lifetime argument
|
|
|
|
|
|
|
|
|
note: associated type defined here, with 1 lifetime parameter: `'a`
|
2022-05-04 14:22:19 +00:00
|
|
|
--> $DIR/issue-85347.rs:3:10
|
2021-05-16 16:33:41 +00:00
|
|
|
|
|
|
|
|
LL | type Bar<'a>: Deref<Target = <Self>::Bar<Target = Self>>;
|
|
|
|
| ^^^ --
|
|
|
|
help: add missing lifetime argument
|
|
|
|
|
|
|
|
|
LL | type Bar<'a>: Deref<Target = <Self>::Bar<'a, Target = Self>>;
|
2021-06-22 02:07:19 +00:00
|
|
|
| +++
|
2021-05-16 16:33:41 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0107`.
|