Skip to content

Don't warn about instantiating a copy type parameter with a non-implicitly-copyable type when the receiver is the only one with the type parameter #2542

Description

@pcwalton

hashmap.contains_key("foo") shouldn't warn, because the type parameters are only in the receiver.

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-diagnosticsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions