From 9dc0afe854380f17bbec9100187ef3d3aa397f28 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Fri, 18 Sep 2020 15:37:31 +0200 Subject: Rename `CustomDerive` to `ProcMacro` It handles fn-like macros too, and will handle attribute macros in the future --- crates/hir_def/src/nameres/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir_def/src/nameres/collector.rs index 925043aa9..4c3993ff0 100644 --- a/crates/hir_def/src/nameres/collector.rs +++ b/crates/hir_def/src/nameres/collector.rs @@ -273,7 +273,7 @@ impl DefCollector<'_> { let macro_id = MacroDefId { ast_id: None, krate: Some(krate), - kind: MacroDefKind::CustomDerive(expander), + kind: MacroDefKind::ProcMacro(expander), local_inner: false, }; -- cgit v1.2.3