clippy::await_holding_refcell_ref
appears to assume out-of-scope variables are being held across await points
#10124
Labels
C-bug
Category: Clippy is not doing the correct thing
The following code
yields the following unexpected clippy warning:
This probably falls under rust-lang/rust#69663.
Playground link
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=75f2f97ff4f11d2d957b25df47d61c26
Meta
The text was updated successfully, but these errors were encountered: