Regression test for ICE.  Fix #5153.
auto merge of #9515 : pnkfelix/rust/fsk-test-for-issue-5153, r=alexcrichton

r? anyone