]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-87258_b.stderr
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
[rust.git] / src / test / ui / generic-associated-types / issue-87258_b.stderr
1 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
2   --> $DIR/issue-87258_b.rs:21:21
3    |
4 LL |     fn foo<'a>() -> Self::FooFuture<'a> {
5    |                     ^^^^^^^^^^^^^^^^^^^
6    |
7    = note: hidden type `Struct<'_>` captures lifetime '_#7r
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0700`.