about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authordswij <dharmasw@outlook.com>2025-08-09 15:08:54 +0000
committerGitHub <noreply@github.com>2025-08-09 15:08:54 +0000
commit386372a0e4c54fc90182d9aeaa0a30e47f4368ae (patch)
tree52f58d3b933cde37a63b4d3bbb1a9f1ee40cb35c /tests/rustdoc-js-std/parser-errors.js
parentea7ebaa8259a43eb6e33a4f6054ae8fb368271e3 (diff)
parentc945393f671a5d981d0e782aacb6bc29d2ff7a0f (diff)
downloadrust-386372a0e4c54fc90182d9aeaa0a30e47f4368ae.tar.gz
rust-386372a0e4c54fc90182d9aeaa0a30e47f4368ae.zip
[[infinite_loop] fix infinite loop false positive (#15157)
changelog: [infinite_loop]: Improve handling of infinite loops in async
blocks

Fix rust-lang/rust-clippy#14000

This PR refines the [infinite_loop] lint to avoid false positives when
infinite loops occur inside async blocks that are not awaited (such as
those that are spawned or assigned to variables for later use). The lint
will now only trigger when the async block containing the loop is
directly awaited.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions