Incorrect infinite loop detection in async functions #12338
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
When using clippy::infinite_loop lint with async function clippy emits not expected warning.
Lint Name
clippy::infinite_loop
Reproducer
I tried this code:
I saw this happen:
I expected to see no lint
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: