testsuite: Update and un-xfail test for #4335
auto merge of #5617 : catamorphism/rust/issue-4335, r=catamorphism