Skip to content

Commit

Permalink
Rollup merge of rust-lang#112394 - clubby789:remove-comment, r=petroc…
Browse files Browse the repository at this point in the history
…henkov

Remove accidental comment

Left this in in rust-lang#110092 while debugging, thanks to `@WaffleLapkin` for spotting
  • Loading branch information
GuillaumeGomez authored Jun 8, 2023
2 parents 80829ce + 053e6b8 commit 80c2648
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 80c2648

Please sign in to comment.