mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Rename CustomDerive
to ProcMacro
It handles fn-like macros too, and will handle attribute macros in the future
This commit is contained in:
parent
700a3d5d75
commit
9dc0afe854
6 changed files with 8 additions and 8 deletions
|
@ -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)?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue