Moving panic! into the list of macros from the Standard Library

This commit is contained in:
David Alber 2017-12-06 22:23:02 -08:00
parent eb42956e84
commit 0f561a1447

View file

@ -1820,12 +1820,12 @@ const FORMAT_LIKE_WHITELIST: &[&str] = &[
"format_args!", "format_args!",
"print!", "print!",
"println!", "println!",
"panic!",
"unreachable!", "unreachable!",
// From the `log` crate. // From the `log` crate.
"debug!", "debug!",
"error!", "error!",
"info!", "info!",
"panic!",
"warn!", "warn!",
]; ];