False positive unused_lifetimes warning with an async fn #86615
Labels
A-async-await
Area: Async & Await
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Removing the word
async
makes the warning disappear. I am currently running 1.52.1, and this also happens in 1.53.0 on the playground, as well as 1.55.0 nightly on the playground.The text was updated successfully, but these errors were encountered: