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
Fix false positive when `Drop` and `Copy` involved in `field_reassign_with_default` lint
Fix FP in `field_reassign_with_default` lint when type implements `Drop` but not all fields are `Copy`.
fixes: rust-lang#6312
changelog: [`field_reassign_with_default`] Fix FP when `Drop` and `Copy` are involved
I expect this to fail to compile on account of the duplicated argument name. Instead:
And running it writes
false
. The first argument is wholly inaccessible.The text was updated successfully, but these errors were encountered: