Module panic_fmt
rustc_lint
The non_fmt_panic lint detects panic!("..") with { or } in the string literal when it is not used as a format string.
non_fmt_panic
panic!("..")
{
}