diff options
author | Lukas Wirth <[email protected]> | 2021-06-09 17:02:31 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-06-09 17:27:08 +0100 |
commit | ae8d74ab2caed66dc84f64f6859bdf3f131388e1 (patch) | |
tree | e2cd48d719266092d8a87810ec385c9caeae5c2d /crates/hir_expand/src/eager.rs | |
parent | 5f592f4f58a6e1e1db0f920af34a2f569b65017c (diff) |
Implement dummy expansions for builtin attributes
Diffstat (limited to 'crates/hir_expand/src/eager.rs')
-rw-r--r-- | crates/hir_expand/src/eager.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_expand/src/eager.rs b/crates/hir_expand/src/eager.rs index 14af628a1..9093255f4 100644 --- a/crates/hir_expand/src/eager.rs +++ b/crates/hir_expand/src/eager.rs | |||
@@ -224,6 +224,7 @@ fn eager_macro_recur( | |||
224 | } | 224 | } |
225 | MacroDefKind::Declarative(_) | 225 | MacroDefKind::Declarative(_) |
226 | | MacroDefKind::BuiltIn(..) | 226 | | MacroDefKind::BuiltIn(..) |
227 | | MacroDefKind::BuiltInAttr(..) | ||
227 | | MacroDefKind::BuiltInDerive(..) | 228 | | MacroDefKind::BuiltInDerive(..) |
228 | | MacroDefKind::ProcMacro(..) => { | 229 | | MacroDefKind::ProcMacro(..) => { |
229 | let res = lazy_expand(db, &def, curr.with_value(child.clone()), krate); | 230 | let res = lazy_expand(db, &def, curr.with_value(child.clone()), krate); |