Skip to content

Commit 80c2648

Browse files
Rollup merge of rust-lang#112394 - clubby789:remove-comment, r=petrochenkov
Remove accidental comment Left this in in rust-lang#110092 while debugging, thanks to `@WaffleLapkin` for spotting
2 parents 80829ce + 053e6b8 commit 80c2648

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_builtin_macros/src/format.rs

-3
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,6 @@ fn report_missing_placeholders(
554554
fmt_span: Span,
555555
) {
556556
let mut diag = if let &[(span, named)] = &unused[..] {
557-
//let mut diag = ecx.struct_span_err(span, msg);
558-
//diag.span_label(span, msg);
559-
//diag
560557
ecx.create_err(errors::FormatUnusedArg { span, named })
561558
} else {
562559
let unused_labels =

0 commit comments

Comments
 (0)