Missing A: Sync
bound for Allocator
for vec::IntoIter
#92633
Labels
A-allocators
Area: Custom and system allocators
C-bug
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
I think this is an issue? Especially in light of
IntoIter::allocating(&self) -> A
existing. If so, the fix is trivial.The instance in question: https://doc.rust-lang.org/nightly/std/vec/struct.IntoIter.html#impl-Sync
For comparison, the
Send
implementation right next to it does featureA: Send
.The text was updated successfully, but these errors were encountered: