aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-06-09 17:02:31 +0100
committerLukas Wirth <[email protected]>2021-06-09 17:27:08 +0100
commitae8d74ab2caed66dc84f64f6859bdf3f131388e1 (patch)
treee2cd48d719266092d8a87810ec385c9caeae5c2d /crates/hir/src
parent5f592f4f58a6e1e1db0f920af34a2f569b65017c (diff)
Implement dummy expansions for builtin attributes
Diffstat (limited to 'crates/hir/src')
-rw-r--r--crates/hir/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index dba46df04..debc3ee62 100644
--- a/crates/hir/src/lib.rs
+++ b/crates/hir/src/lib.rs
@@ -1344,6 +1344,7 @@ impl MacroDef {
1344 MacroDefKind::Declarative(_) => MacroKind::Declarative, 1344 MacroDefKind::Declarative(_) => MacroKind::Declarative,
1345 MacroDefKind::BuiltIn(_, _) | MacroDefKind::BuiltInEager(_, _) => MacroKind::BuiltIn, 1345 MacroDefKind::BuiltIn(_, _) | MacroDefKind::BuiltInEager(_, _) => MacroKind::BuiltIn,
1346 MacroDefKind::BuiltInDerive(_, _) => MacroKind::Derive, 1346 MacroDefKind::BuiltInDerive(_, _) => MacroKind::Derive,
1347 MacroDefKind::BuiltInAttr(_, _) => MacroKind::Attr,
1347 MacroDefKind::ProcMacro(_, base_db::ProcMacroKind::CustomDerive, _) => { 1348 MacroDefKind::ProcMacro(_, base_db::ProcMacroKind::CustomDerive, _) => {
1348 MacroKind::Derive 1349 MacroKind::Derive
1349 } 1350 }