Unexpected lifetime bound in async trait method #104529
Labels
F-async_fn_in_trait
Static async fn in traits
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I have this program
playground
That throws this strange compilation error on nightly
If I remove
async
it works fine. Any idea why this happens?Edit: this program compiles normally:
The text was updated successfully, but these errors were encountered: