Moving panic!
into the list of macros from the Standard Library
This commit is contained in:
parent
eb42956e84
commit
0f561a1447
1 changed files with 1 additions and 1 deletions
|
@ -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!",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue