about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-17 11:36:50 +0000
committerbors <bors@rust-lang.org>2022-12-17 11:36:50 +0000
commitb62319ce025b9a127f3d0f1217e3326418a38bb8 (patch)
tree8c3d465602b5fc9df6a871114be1143b502d725f /library/std/src/sys/unix/stack_overflow.rs
parent02f3959f2bc4bd972add6f0c33df90aab808dc7d (diff)
parent97c12e0460270bd6b0a6d52b8677f24c5b2d6879 (diff)
downloadrust-b62319ce025b9a127f3d0f1217e3326418a38bb8.tar.gz
rust-b62319ce025b9a127f3d0f1217e3326418a38bb8.zip
Auto merge of #10094 - EricWu2003:increment-visitor-fix, r=xFrednet
fix logic in IncrementVisitor

There used to be a logical bug where IncrementVisitor would completely stop checking an expression/block after seeing a continue statement.

I am a little unsure of whether my fix to `IncrementVisitor` is logically sound (I hope it makes sense). Let me know what you think, and thanks in advance for the review!

fixes #10058

---

changelog: FP: [`explicit_counter_loop`]: No longer ignores counter changes after `continue` expressions
[#10094](https://github.com/rust-lang/rust-clippy/pull/10094)
<!-- changelog_checked -->
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions