We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94bda3 commit 053e6b8Copy full SHA for 053e6b8
compiler/rustc_builtin_macros/src/format.rs
@@ -554,9 +554,6 @@ fn report_missing_placeholders(
554
fmt_span: Span,
555
) {
556
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
560
ecx.create_err(errors::FormatUnusedArg { span, named })
561
} else {
562
let unused_labels =
0 commit comments