-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive for await_holding_refcell_ref
#6353
Comments
Downgrade the await holding lints from correctness We found a false positive in these lints (see #6353 for more details). As a short-term mitigation, this downgrades the lints from correctness to limit the noise.
Downgrade the await holding lints from correctness We found a false positive in these lints (see #6353 for more details). As a short-term mitigation, this downgrades the lints from correctness to limit the noise. changelog: downgrade AWAIT_HOLDING_REFCELL_REF and AWAIT_HOLDING_LOCK to pedantic. From rustup earlier, where I forgot the changlog: deprecate [`panic_params`] (uplifted)
Any progress here? |
Apologies for the lack of communication. From conversations on Zulip, it is in fact not an easy fix to identify variables that have been explicitly dropped. I intended to add the documentation quickly, but got caught up in things. I just sent out #6585. Unfortunately, I don't have the cycles to dig into this deeply right now. |
This lint seems to have been enabled by default in 1.61 and is still producing false positives, breaking my CI. |
Bump. This is still breaking my CI. Can we get it rolled back? |
I tried this code:
I expected to see this happen: No error since the
RefMut
is explicitly dropped before theawait
Instead, this happened: Brought up a warning
This happens in the recently promoted beta.
This should be pretty easy to fix. As a short term mitigation, I will downgrade the check from correctness and should hopefully be able to work on the fix next week.
The text was updated successfully, but these errors were encountered: