VecDeque from Vec with ZST elements breaks internal invariants #80167
Labels
A-collections
Area: `std::collections`
C-bug
Category: This is a bug.
P-high
High priority
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I expected VecDeque constructed from Vec to either work correctly or construction to panic if it is not possible. Instead:
Introduced by #80003.
The text was updated successfully, but these errors were encountered: