rust-clippy
rust-clippy copied to clipboard
new lint that detects blocking operations in async
fixes: #10794
changelog: new lint [unnecessary_blocking_ops
]
Ok, this is a rough one, I have no confident in many things (the name ofc), and there are certain things I wanna address before I put too much effort in it.
r? @Jarcho
(rustbot has picked a reviewer for you, use r? to override)
:umbrella: The latest upstream changes (presumably #11527) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #11685) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #11791) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #10283) made this pull request unmergeable. Please resolve the merge conflicts.
:umbrella: The latest upstream changes (presumably #12144) made this pull request unmergeable. Please resolve the merge conflicts.
Hey @Jarcho, this is a ping from triage. Can you give this PR a review? It's totally fine if you don't have the time right now, you can reassign the PR to a random team member using r? clippy
.
@J-ZhengLi could you rebase on master again? Since only conf.rs
and lib.rs
need to be updated it should be safe to already review this :D
@rustbot ready
... @J-ZhengLi could you rebase on master again? Since only
conf.rs
andlib.rs
need to be updated it should be safe to already review this :D ...
yeah sure, I forgot about this one, still feel very unconfident about this one, running lintcheck
gives nothing lol (maybe because not many of those use async
at all).
I believe none of the lints in lintcheck use async extensively, but I could be wrong.
:umbrella: The latest upstream changes (presumably #12635) made this pull request unmergeable. Please resolve the merge conflicts.
Hey, this is a ping from triage. @Jarcho can you give this PR a review? It's totally fine if you don't have the time right now, you can reassign the PR to a random team member using r? clippy
.
@J-ZhengLi Sorry for the wait, could you rebase this PR?
@rustbot ready
Looking at current implementation, combining with the other issue #4377, I kinda want to close this and maybe re-work on it later :thinking: