mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
Moving panic!
into the list of macros from the Standard Library
This commit is contained in:
parent
eb42956e84
commit
0f561a1447
@ -1820,12 +1820,12 @@ const FORMAT_LIKE_WHITELIST: &[&str] = &[
|
||||
"format_args!",
|
||||
"print!",
|
||||
"println!",
|
||||
"panic!",
|
||||
"unreachable!",
|
||||
// From the `log` crate.
|
||||
"debug!",
|
||||
"error!",
|
||||
"info!",
|
||||
"panic!",
|
||||
"warn!",
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user