Fix assert message
auto merge of #15979 : Randati/rust/patch-2, r=kballard