diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-06-08 10:15:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 10:15:12 +0200 |
| commit | 80c26483ba813c6bd94395b9f9883d51c02c3425 (patch) | |
| tree | 5e1ff725d97640663c6250aa38eadf903b7dbc89 | |
| parent | 80829ceaa7e89f42f8f2b45d79f29e137e2bac0f (diff) | |
| parent | 053e6b80c7c5a6b6052468e7d35f6ef1d011274f (diff) | |
| download | rust-80c26483ba813c6bd94395b9f9883d51c02c3425.tar.gz rust-80c26483ba813c6bd94395b9f9883d51c02c3425.zip | |
Rollup merge of #112394 - clubby789:remove-comment, r=petrochenkov
Remove accidental comment Left this in in #110092 while debugging, thanks to `@WaffleLapkin` for spotting
| -rw-r--r-- | compiler/rustc_builtin_macros/src/format.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_builtin_macros/src/format.rs b/compiler/rustc_builtin_macros/src/format.rs index c59a733c055..4c878785b7b 100644 --- a/compiler/rustc_builtin_macros/src/format.rs +++ b/compiler/rustc_builtin_macros/src/format.rs @@ -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 = |
