aboutsummaryrefslogtreecommitdiff
path: root/crates/hir
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-09 18:21:50 +0100
committerGitHub <[email protected]>2021-06-09 18:21:50 +0100
commit85056423e3d14fc59bca06d3b2e0c44041653945 (patch)
tree482b3232ebab974ca73616fef50bfc531f44b53f /crates/hir
parent5f592f4f58a6e1e1db0f920af34a2f569b65017c (diff)
parent1e51b137d947b209a083f43cd4b0903d7ba28ce3 (diff)
Merge #9193
9193: Implement dummy expansions for builtin attributes r=jonas-schievink a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir')
-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 }