async fn raises unused_mut on parameter that is used mutably #60566
Labels
A-async-await
Area: Async & Await
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=4f2bb9f701bdbbb3424e926989bc0f2f
raises
unused_mut
on thes
parameter offoo
.@taiki-e This is also raised in the test case you added in #60501, but I assume the test passes because it defaults to ignoring the warning.
Workaround:
The text was updated successfully, but these errors were encountered: