Skip to content

Commit 5cefc3c

Browse files
m-ou-sebjorn3
andcommitted
Mark panic_fmt suggestion as machine applicable.
Co-authored-by: bjorn3 <[email protected]>
1 parent 1993f1e commit 5cefc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/panic_fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn check_panic<'tcx>(cx: &LateContext<'tcx>, f: &'tcx hir::Expr<'tcx>, arg: &'tc
109109
arg.span.shrink_to_lo(),
110110
"or add a \"{}\" format string to use the message literally",
111111
"\"{}\", ".into(),
112-
Applicability::MaybeIncorrect,
112+
Applicability::MachineApplicable,
113113
);
114114
}
115115
l.emit();

0 commit comments

Comments
 (0)