From 0f561a1447533e531a59ab5bfd6d4db467f90f2a Mon Sep 17 00:00:00 2001 From: David Alber Date: Wed, 6 Dec 2017 22:23:02 -0800 Subject: [PATCH] Moving `panic!` into the list of macros from the Standard Library --- src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr.rs b/src/expr.rs index a94f51bb811..feed584dba6 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1820,12 +1820,12 @@ const FORMAT_LIKE_WHITELIST: &[&str] = &[ "format_args!", "print!", "println!", + "panic!", "unreachable!", // From the `log` crate. "debug!", "error!", "info!", - "panic!", "warn!", ];