Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/render/macro_.rs')
-rw-r--r--crates/ide-completion/src/render/macro_.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/render/macro_.rs b/crates/ide-completion/src/render/macro_.rs
index 8cdeb8abbf..ff4cf9a75b 100644
--- a/crates/ide-completion/src/render/macro_.rs
+++ b/crates/ide-completion/src/render/macro_.rs
@@ -64,7 +64,7 @@ fn render(
label(&ctx, needs_bang, bra, ket, &name.to_smolstr()),
completion.edition,
);
- item.set_deprecated(ctx.is_deprecated(macro_))
+ item.set_deprecated(ctx.is_deprecated(macro_, None /* macros can't be assoc items */))
.detail(macro_.display(completion.db, completion.display_target).to_string())
.set_documentation(docs)
.set_relevance(ctx.completion_relevance());