BurntSushi / quickcheck

Automated property based testing for Rust (with shrinking).
The Unlicense
2.32k stars 144 forks source link

Shut up non_fmt_panic warning #284

Open neithernut opened 3 years ago

neithernut commented 3 years ago

Like a few other macros, panic! accepts a format string and arguments. The format string is meant to be static and calling it with a message string will generate a warning. Currently, the warning also indicates that rustc will generate an error instead in the near future.

neithernut commented 2 years ago

Fixes #305.

schneiderfelipe commented 5 months ago

@BurntSushi can we get this merged? ❤️