diff options
author | Jonas Schievink <[email protected]> | 2020-09-18 14:37:31 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-09-18 14:37:31 +0100 |
commit | 9dc0afe854380f17bbec9100187ef3d3aa397f28 (patch) | |
tree | 72332355087da5fb9f518ae04a9fa73a4f93a70d /crates/hir_def | |
parent | 700a3d5d75cdc1b8b7049d35af335c638e079c5c (diff) |
Rename `CustomDerive` to `ProcMacro`
It handles fn-like macros too, and will handle attribute macros in the
future
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/nameres/collector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<'_> { | |||
273 | let macro_id = MacroDefId { | 273 | let macro_id = MacroDefId { |
274 | ast_id: None, | 274 | ast_id: None, |
275 | krate: Some(krate), | 275 | krate: Some(krate), |
276 | kind: MacroDefKind::CustomDerive(expander), | 276 | kind: MacroDefKind::ProcMacro(expander), |
277 | local_inner: false, | 277 | local_inner: false, |
278 | }; | 278 | }; |
279 | 279 | ||