You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: panic message is not a string literal
--> src/tester.rs:165:35
|
165 | Err(result) => panic!(result.failed_msg()),
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(non_fmt_panics)]` on by default
= note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
help: add a "{}" format string to Display the message
|
165 | Err(result) => panic!("{}", result.failed_msg()),
| +++++
The text was updated successfully, but these errors were encountered:
While compling with Rust `1.56.1', it reports:
The text was updated successfully, but these errors were encountered: