unused_assignments
false positive in async
blocks
#84292
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.
In this code:
The
1
assigned to thevalue
variable is later read. However, Rust incorrectly generates a warning:Meta
Occurs on both stable 1.51.0 and Nightly 2021-04-17.
rustc --version --verbose
:This issue has been assigned to @tmiasko via this comment.
The text was updated successfully, but these errors were encountered: