Error code E0760
async fn
/impl trait
return type cannot contain a projection
or Self
that references lifetimes from a parent scope.
Erroneous code example:
ⓘ
To fix this error we need to spell out Self
to S<'a>
:
This will be allowed at some point in the future, but the implementation is not yet complete. See the issue-61949 for this limitation.