You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay it seems like we already deny that via the pedantic = "deny" catch-all, but we currently don't enforce check-inconsistent-struct-field-initializers, because that can lead to borrow issues.
I'm also not quite certain if this lint also applies to destructures.
I would be happy to enable that lint in a follow-up PR.
The lint in question is this one: https://rust-lang.github.io/rust-clippy/stable/index.html?search=field#inconsistent_struct_constructor
Originally posted by @Techassi in #1226 (comment)