From a09b1d33a703d4ed412e70d3197e73ba7e0937f9 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 5 Mar 2024 16:53:24 +1100 Subject: Rename `IntoDiagnosticArg` as `IntoDiagArg`. Also rename `into_diagnostic_arg` as `into_diag_arg`, and `NotIntoDiagnosticArg` as `NotInotDiagArg`. --- compiler/rustc_parse/src/parser/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_parse/src/parser') diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs index de088b9364b..e56fc3e1129 100644 --- a/compiler/rustc_parse/src/parser/diagnostics.rs +++ b/compiler/rustc_parse/src/parser/diagnostics.rs @@ -298,7 +298,7 @@ impl<'a> Parser<'a> { { recovered_ident = Some((ident, IdentIsRaw::Yes)); - // `Symbol::to_string()` is different from `Symbol::into_diagnostic_arg()`, + // `Symbol::to_string()` is different from `Symbol::into_diag_arg()`, // which uses `Symbol::to_ident_string()` and "helpfully" adds an implicit `r#` let ident_name = ident.name.to_string(); -- cgit 1.4.1-3-g733a5