Skip to content

Detect infinite loop in async fn not returning ! #15545

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

Merged
merged 1 commit into from
Aug 23, 2025

Conversation

samueltardieu
Copy link
Member

@samueltardieu samueltardieu commented Aug 23, 2025

This fixes an overzealous change made to avoid signaling infinite loops in anonymous blocks that may never be used.

Fixes #15541

r? @dswij

changelog: none

This fixes an overzealous change made to avoid signaling infinite loops
in anonymous blocks that may never be used.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 23, 2025
@samueltardieu
Copy link
Member Author

Ref #15157 for the overzealous fix

@dswij dswij added this pull request to the merge queue Aug 23, 2025
Merged via the queue into rust-lang:master with commit 36ef395 Aug 23, 2025
11 of 13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 23, 2025
@samueltardieu samueltardieu deleted the issue-15541 branch August 23, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

infinite_loop no longer lints async functions
3 participants