-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[infinite_loops
]: fix incorrect suggestions on async functions/closures
#13608
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
infinite_loops
]: fix suggestion error on async functions/closuresinfinite_loops
]: fix incorrect suggestions on async functions/closures
7d0d282
to
c4815ae
Compare
|
||
/// Return `true` if the given [`FnRetTy`] is never (!). | ||
/// | ||
/// Note: This function also take care of return type of async fn, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Note: This function also take care of return type of async fn, | |
/// Note: This function also takes care of the return type of async fn, |
Thanks! Async fns strike again 👀 @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
closes: #12338
I intend to fix this in #12421 but got distracted by some other problems in the same lint, delaying the process of closing the actual issue. So here's a separated PR that only focus on the issue and nothing else.
changelog: [
infinite_loops
]: fix suggestion error on async functions/closures