testsuite: Add xfailed test case for #6128
auto merge of #7802 : catamorphism/rust/issue-6128, r=catamorphism