Skip to content

Commit a32ce24

Browse files
committed
Auto merge of rust-lang#17466 - chenyukang:patch-1, r=Veykril
chore: Fix diagnostic name in macro_error.rs
2 parents 91f0eec + a904bc3 commit a32ce24

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/macro_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub(crate) fn macro_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroError) ->
1313
)
1414
}
1515

16-
// Diagnostic: macro-error
16+
// Diagnostic: macro-def-error
1717
//
1818
// This diagnostic is shown for macro expansion errors.
1919
pub(crate) fn macro_def_error(ctx: &DiagnosticsContext<'_>, d: &hir::MacroDefError) -> Diagnostic {

0 commit comments

Comments
 (0)