Skip to content

IntErrorKind should derive Copy and Hash #131826

Closed

Description

@joseluis

When including std errors as part of custom types, I've noticed that IntErrorKind does not derive the Copy or the Hash traits, and I think it most probably should, since it would make it easier to propagate and embed it. For example IoErrorKind does in fact derive them.

Activity

  1. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Oct 17, 2024
  2. added
    T-libs-api[DEPRECATED; DO NOT USE]
    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Oct 17, 2024
  3. added a commit that references this issue on Jul 2, 2025
  4. added a commit that references this issue on Jul 3, 2025
  5. added a commit that references this issue on Jul 11, 2025
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

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions