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
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
hashmap.contains_key("foo")
shouldn't warn, because the type parameters are only in the receiver.The text was updated successfully, but these errors were encountered: