derive(Clone, Debug) should not prevent "field is never read" from firing #84647
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ddbb661ad3a117642c4f750b31da4b18
Only
A
's field triggers the warning. It's clear whyB
doesn't do this, but it clearly should. Doesn't seem easy to fix though :(The text was updated successfully, but these errors were encountered: