diff options
author | Aleksey Kladov <[email protected]> | 2019-12-19 16:30:28 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-19 17:09:50 +0000 |
commit | 5bd8de3f5e11732d67d0cc9bacda7d3a1b7cf13a (patch) | |
tree | 0381b42e5e3b4daab49c734728b11f22361c2067 /crates/ra_hir_def/src/body/lower.rs | |
parent | b2731ab78acc7a2d38e02cd477f4a5132c1ac98b (diff) |
Allow storing defs in bodies
Diffstat (limited to 'crates/ra_hir_def/src/body/lower.rs')
-rw-r--r-- | crates/ra_hir_def/src/body/lower.rs | 1 |
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 61193b4d8..86960186f 100644 --- a/crates/ra_hir_def/src/body/lower.rs +++ b/crates/ra_hir_def/src/body/lower.rs | |||
@@ -41,6 +41,7 @@ pub(super) fn lower( | |||
41 | pats: Arena::default(), | 41 | pats: Arena::default(), |
42 | params: Vec::new(), | 42 | params: Vec::new(), |
43 | body_expr: ExprId::dummy(), | 43 | body_expr: ExprId::dummy(), |
44 | defs: Vec::new(), | ||
44 | }, | 45 | }, |
45 | } | 46 | } |
46 | .collect(params, body) | 47 | .collect(params, body) |