The `non_fmt_panic` lint should have a special case for `panic!(format!(..))` to suggest `panic!(..)` by removing `format(` and `)`.
Activity
Fix forward compatibility of panicking
Rollup merge of rust-lang#82113 - m-ou-se:panic-format-lint, r=estebank