Auto merge of #17466 - chenyukang:patch-1, r=Veykril

chore: Fix diagnostic name in macro_error.rs
This commit is contained in:
bors 2024-06-24 07:57:45 +00:00
commit f2cffbac85

View file

@ -13,7 +13,7 @@ pub(crate) fn macro_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroError) ->
)
}
// Diagnostic: macro-error
// Diagnostic: macro-def-error
//
// This diagnostic is shown for macro expansion errors.
pub(crate) fn macro_def_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroDefError) -> Diagnostic {