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!",
"print!",
"println!",
"panic!",
"unreachable!",
// From the `log` crate.
"debug!",
"error!",
"info!",
"panic!",
"warn!",
];