From 8afb445357f621eb5b4aada6041eb2a1afd41ee6 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Tue, 24 Mar 2020 03:45:52 +0800 Subject: Rename to CustomDerive --- crates/ra_hir_def/src/nameres/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir_def/src') diff --git a/crates/ra_hir_def/src/nameres/collector.rs b/crates/ra_hir_def/src/nameres/collector.rs index 76be71a30..1dcf5a309 100644 --- a/crates/ra_hir_def/src/nameres/collector.rs +++ b/crates/ra_hir_def/src/nameres/collector.rs @@ -892,7 +892,7 @@ impl ModCollector<'_, '_> { let macro_id = MacroDefId { ast_id: None, krate: Some(krate), - kind: MacroDefKind::ProcMacro(expander), + kind: MacroDefKind::CustomDerive(expander), }; self.def_collector.define_proc_macro(name.clone(), macro_id); -- cgit v1.2.3