Add rust_fail. #11219
auto merge of #11231 : brson/rust/rust_fail, r=alexcrichton

Closes #11219