aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs2
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);