Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix all non_fmt_panic compilation warnings
They look like this: warning: panic message is not a string literal --> examples/syntest.rs:277:28 | 277 | Err(f) => { panic!(f.to_string()) } | ^^^^^^^^^^^^^ | = note: `#[warn(non_fmt_panic)]` on by default = note: this is no longer accepted in Rust 2021 help: add a "{}" format string to Display the message | 277 | Err(f) => { panic!("{}", f.to_string()) } | ^^^^^ help: or use std::panic::panic_any instead | 277 | Err(f) => { std::panic::panic_any(f.to_string()) } | ^^^^^^^^^^^^^^^^^^^^^
- Loading branch information