Rename CustomDerive to ProcMacro

It handles fn-like macros too, and will handle attribute macros in the
future
This commit is contained in:
Jonas Schievink 2020-09-18 15:37:31 +02:00
parent 700a3d5d75
commit 9dc0afe854
6 changed files with 8 additions and 8 deletions

View file

@ -129,7 +129,7 @@ fn eager_macro_recur(
MacroDefKind::Declarative
| MacroDefKind::BuiltIn(_)
| MacroDefKind::BuiltInDerive(_)
| MacroDefKind::CustomDerive(_) => {
| MacroDefKind::ProcMacro(_) => {
let expanded = lazy_expand(db, &def, curr.with_value(child.clone()), krate)?;
// replace macro inside
eager_macro_recur(db, expanded, krate, macro_resolver)?