Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit a904bc3

Browse files
authored
Fix diagnostic name in macro_error.rs
1 parent 9b8b6f9 commit a904bc3

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)