auto merge of #6889 : luqmana/rust/unit-struct-drop, r=catamorphism

Fixes #6861
Add test for #6861