rust: Fix "panic message is not a string literal" warnings...
rust: Fix "panic message is not a string literal" warnings
These deprecation warnings would not become errors until we actively port
crates to the (not yet released) Rust 2021 edition, but fixing them anyway
reduces console output noise.
Differential Revision:
https://phab.mercurial-scm.org/D10743