testsuite: Add passing test for #4735
testsuite: Add working test for #5550
testsuite: Test cases, one xfailed, one not
auto merge of #6707 : catamorphism/rust/issue-5543, r=catamorphism