Skip to content

missing_copy_implementations warning appears on types which impl Iterator #98590

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

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