Rename report_redundant_placeholders() to report_redundant_format_arguments()
This commit is contained in:
parent
04fc051a34
commit
9c921f843c
1 changed files with 2 additions and 2 deletions
|
@ -616,7 +616,7 @@ fn report_missing_placeholders(
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
if !placeholders.is_empty() {
|
||||
report_redundant_placeholders(ecx, fmt_span, &args, used, placeholders);
|
||||
report_redundant_format_arguments(ecx, fmt_span, &args, used, placeholders);
|
||||
diag.cancel();
|
||||
return;
|
||||
}
|
||||
|
@ -708,7 +708,7 @@ fn report_missing_placeholders(
|
|||
diag.emit();
|
||||
}
|
||||
|
||||
fn report_redundant_placeholders(
|
||||
fn report_redundant_format_arguments(
|
||||
ecx: &mut ExtCtxt<'_>,
|
||||
fmt_span: Span,
|
||||
args: &FormatArguments,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue