Skip to content

arc should require send trait #2788

Closed
Closed

Description

@brson

As currently defined arc only requires T: const but this would allow them to store local boxes, which would not be safe.

Activity

  1. ghost assigned on Jul 3, 2012
  2. eholk commented on Jul 3, 2012

    @eholk
    Contributor

    Is this for the shared arc or the exclusive arc? I thought the point of the const trait was that we could safely share even @ boxes.

  3. eholk commented on Jul 3, 2012

    @eholk
    Contributor

    Nevermind, I thought about it some more on the way home and remembered that @ boxes have a reference count which is mutable.

  4. added a commit that references this issue on Jul 5, 2012
  5. added a commit that references this issue on Mar 12, 2026
  6. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions