aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/body/lower.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src/body/lower.rs')
-rw-r--r--crates/ra_hir_def/src/body/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs
index 174bbf9f4..6eb72e950 100644
--- a/crates/ra_hir_def/src/body/lower.rs
+++ b/crates/ra_hir_def/src/body/lower.rs
@@ -220,7 +220,7 @@ impl ExprCollector<'_> {
220 } 220 }
221 ast::Effect::Unsafe(_) => { 221 ast::Effect::Unsafe(_) => {
222 let body = self.collect_block_opt(e.block_expr()); 222 let body = self.collect_block_opt(e.block_expr());
223 self.alloc_expr(Expr::UnsafeBlock { body }, syntax_ptr) 223 self.alloc_expr(Expr::Unsafe { body }, syntax_ptr)
224 } 224 }
225 // FIXME: we need to record these effects somewhere... 225 // FIXME: we need to record these effects somewhere...
226 ast::Effect::Async(_) | ast::Effect::Label(_) => { 226 ast::Effect::Async(_) | ast::Effect::Label(_) => {