VecDeque::iter_mut tramples on the references it returned earlier #74029
Labels
A-collections
Area: `std::collection`
C-bug
Category: This is a bug.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I tried running this code with Miri (on playground):
I expected to see it end gracefully.
Instead, it reports:
The text was updated successfully, but these errors were encountered: