Update and un-xfail auto-encode test

Closes #6122
auto merge of #11000 : cmr/rust/auto_encode, r=alexcrichton

Closes #6122