Better suggestion for panic!(format!(..))
#82110
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
The
non_fmt_panic
lint should have a special case forpanic!(format!(..))
to suggestpanic!(..)
by removingformat(
and)
.The text was updated successfully, but these errors were encountered: