Skip to content

Commit

Permalink
Remove accidental comment
Browse files Browse the repository at this point in the history
  • Loading branch information
clubby789 committed Jun 7, 2023
1 parent e94bda3 commit 053e6b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/rustc_builtin_macros/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 053e6b8

Please sign in to comment.