Rollup merge of #112394 - clubby789:remove-comment, r=petrochenkov

Remove accidental comment

Left this in in #110092 while debugging, thanks to `@WaffleLapkin` for spotting
This commit is contained in:
Guillaume Gomez 2023-06-08 10:15:12 +02:00 committed by GitHub
commit 80c26483ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -554,9 +554,6 @@ fn report_missing_placeholders(
fmt_span: Span,
) {
let mut diag = if let &[(span, named)] = &unused[..] {
//let mut diag = ecx.struct_span_err(span, msg);
//diag.span_label(span, msg);
//diag
ecx.create_err(errors::FormatUnusedArg { span, named })
} else {
let unused_labels =