Wouldn't be that sure about that. Getting the wrong answer can be a serious security problem. Not completing the operation... well, it is not good, but that's it.
It is sometimes acceptable to get wrong output. But is nearly always better to know it is wrong.
Never used Rust before but is there a way to supply some default code to run in such a situation instead of just not carrying out the bad operation?