Remove accidental comment

This commit is contained in:
clubby789 2023-06-07 17:16:34 +00:00
parent e94bda3bf1
commit 053e6b80c7
1 changed files with 0 additions and 3 deletions

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 =