VecDeque iter+collect causes an infinite loop (1.48.0) #80293
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I discovered that
VecDeque
can produce an infinite loop in an iterator when using iter+collect.code demonstrating the issue:
This happens with stable (1.48.0, 7eac88a). I could not reproduce the issue on 1.50.0-nightly 11c94a1 or 1.49.0-beta.4 877c7cb.
I think this may be related/a duplicate of #79808. Particularly 527934d looks highly related to this issue (@lcnr).
I'm filing this bug as I'm not super familiar with Rust and think it may be worth to confirm that this is caused by the same underlying issue and appropriately fixed already.
The text was updated successfully, but these errors were encountered: