As suggested by @nrc in https://github.com/rust-lang/rust/issues/87313#issuecomment-898000387, the `panic_fmt_lint` should suggest `"{:?}"` if the type implements Debug and not Display.