Add test for #18908
auto merge of #19377 : tbu-/rust/pr_mapinplace_fixzerosized_test, r=sfackler