Skip to content

Missing A: Sync bound for Allocator for vec::IntoIter #92633

Closed
@steffahn

Description

@steffahn

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 feature A: Send.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsC-bugCategory: This is a bug.I-unsoundIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions