aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-05-02 12:39:05 +0100
committerBenjamin Coenen <[email protected]>2020-05-02 12:39:05 +0100
commitfdf86637bf8338ad19923442a547c6c7b495100c (patch)
treee1d0e28680bb805d34b1d8a56d6f4c7119177fc8 /crates/ra_hir_def/src/body
parent6d5f3922f7cf6d6c02521ad947abd63ab4764fca (diff)
parentfb8fb65131c8d3e6335efd401e4e83287be49357 (diff)
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer
Diffstat (limited to 'crates/ra_hir_def/src/body')
-rw-r--r--crates/ra_hir_def/src/body/lower.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs
index 58b3d10d8..687216dc3 100644
--- a/crates/ra_hir_def/src/body/lower.rs
+++ b/crates/ra_hir_def/src/body/lower.rs
@@ -466,6 +466,7 @@ impl ExprCollector<'_> {
466 krate: Some(self.expander.module.krate), 466 krate: Some(self.expander.module.krate),
467 ast_id: Some(self.expander.ast_id(&e)), 467 ast_id: Some(self.expander.ast_id(&e)),
468 kind: MacroDefKind::Declarative, 468 kind: MacroDefKind::Declarative,
469 local_inner: false,
469 }; 470 };
470 self.body.item_scope.define_legacy_macro(name, mac); 471 self.body.item_scope.define_legacy_macro(name, mac);
471 472