infer: remove superfluous call to try()
auto merge of #6969 : Blei/rust/no-try, r=bstrie