( )⚙ D10743 rust: Fix "panic message is not a string literal" warnings

This is an archive of the discontinued Mercurial Phabricator instance.

rust: Fix "panic message is not a string literal" warnings
ClosedPublic

Authored by SimonSapin on May 19 2021, 9:22 AM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.