1 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
2 --> $DIR/issue-87258_a.rs:19:21
4 LL | fn foo<'a>() -> Self::FooFuture<'a> {
7 = note: hidden type `Struct<'_>` captures lifetime '_#7r
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0700`.