-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Better suggestion for panic!(format!(..)) #82110
Copy link
Copy link
Closed
Labels
A-suggestion-diagnosticsArea: Suggestions generated by the compiler applied by `cargo fix`Area: Suggestions generated by the compiler applied by `cargo fix`D-confusingDiagnostics: Confusing error or lint that should be reworked.Diagnostics: Confusing error or lint that should be reworked.
Metadata
Metadata
Assignees
Labels
A-suggestion-diagnosticsArea: Suggestions generated by the compiler applied by `cargo fix`Area: Suggestions generated by the compiler applied by `cargo fix`D-confusingDiagnostics: Confusing error or lint that should be reworked.Diagnostics: Confusing error or lint that should be reworked.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The
non_fmt_paniclint should have a special case forpanic!(format!(..))to suggestpanic!(..)by removingformat(and).