diff options
author | Edwin Cheng <[email protected]> | 2020-03-23 19:45:52 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2020-03-25 11:50:12 +0000 |
commit | 8afb445357f621eb5b4aada6041eb2a1afd41ee6 (patch) | |
tree | 7c08cef580ced5d3bb496017e90143412ddecebb /crates/ra_hir_def/src | |
parent | 7667aa6033b1a0307279d0a153ce0e90437b0b66 (diff) |
Rename to CustomDerive
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<'_, '_> { | |||
892 | let macro_id = MacroDefId { | 892 | let macro_id = MacroDefId { |
893 | ast_id: None, | 893 | ast_id: None, |
894 | krate: Some(krate), | 894 | krate: Some(krate), |
895 | kind: MacroDefKind::ProcMacro(expander), | 895 | kind: MacroDefKind::CustomDerive(expander), |
896 | }; | 896 | }; |
897 | 897 | ||
898 | self.def_collector.define_proc_macro(name.clone(), macro_id); | 898 | self.def_collector.define_proc_macro(name.clone(), macro_id); |