aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/item_tree
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 17:37:46 +0100
committerAleksey Kladov <[email protected]>2020-07-30 17:37:46 +0100
commit917c89c103597d09e95bdee273633f79123dd19e (patch)
treeb3fd047162935f7388a9915c0bf7b2ac2b5022bb /crates/ra_hir_def/src/item_tree
parentc5798c4d75aa807aec47208a49101bdec3affcca (diff)
Finaize item grammar
Diffstat (limited to 'crates/ra_hir_def/src/item_tree')
-rw-r--r--crates/ra_hir_def/src/item_tree/lower.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_def/src/item_tree/lower.rs b/crates/ra_hir_def/src/item_tree/lower.rs
index b0cf94956..29f1de547 100644
--- a/crates/ra_hir_def/src/item_tree/lower.rs
+++ b/crates/ra_hir_def/src/item_tree/lower.rs
@@ -557,6 +557,7 @@ impl Ctx {
557 let statik = self.lower_static(&ast)?; 557 let statik = self.lower_static(&ast)?;
558 statik.into() 558 statik.into()
559 } 559 }
560 ast::ExternItem::MacroCall(_) => return None,
560 }; 561 };
561 self.add_attrs(id.into(), attrs); 562 self.add_attrs(id.into(), attrs);
562 Some(id) 563 Some(id)