2 diagnostics::{Diagnostic, DiagnosticsContext},
6 // Diagnostic: unimplemented-builtin-macro
8 // This diagnostic is shown for builtin macros which are not yet implemented by rust-analyzer
9 pub(super) fn unimplemented_builtin_macro(
10 ctx: &DiagnosticsContext<'_>,
11 d: &hir::UnimplementedBuiltinMacro,
14 "unimplemented-builtin-macro",
15 "unimplemented built-in macro".to_string(),
16 ctx.sema.diagnostics_display_range(d.node.clone()).range,
18 .severity(Severity::WeakWarning)