Hidden type for impl Trait
captures lifetime that does not appear in bounds
#96771
Labels
A-async-await
Area: Async & Await
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Yet another problem related to
'static
andasync
but this timeimpl Trait
is involved somehow. Funny enough, the error goes away when the number of arguments is decreased to 2 instead of 3.It is worth noting that a different error arises when the return is not
'static
.The text was updated successfully, but these errors were encountered: