Skip to content

missing_copy_implementations warning appears on types which impl Iterator #98590

Closed

Description

@Lokathor

It has long been the policy of the standard library that Copy and Iterator on the same type is a footgun.

Therefore, the missing_copy_implementations lint should not fire on a type that impls Iterator.

Activity

  1. added
    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.
    C-bugCategory: This is a bug.
    on Apr 10, 2023
  2. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    on May 13, 2024
  3. clarfonthey commented on May 9, 2026

    @clarfonthey
    Contributor

    Fixed by #102406

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

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.L-missing_copy_implementationsLint: missing_copy_implementationsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library 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