aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-09 12:00:09 +0100
committerAleksey Kladov <[email protected]>2020-04-09 12:00:09 +0100
commit689661c95968cb438f8bd1f10ce0ee096287741b (patch)
treea974bfe4160a0cb0d49146b239d68cdb99a6566d /crates/ra_hir_def/src
parent60f4d7bd8c0ecb9f23557464e824140a2be8f41a (diff)
Scale back to only two traits
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/body/lower.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs
index 8338414fa..b02de5d67 100644
--- a/crates/ra_hir_def/src/body/lower.rs
+++ b/crates/ra_hir_def/src/body/lower.rs
@@ -492,7 +492,6 @@ impl ExprCollector<'_> {
492 ast::Stmt::ExprStmt(stmt) => { 492 ast::Stmt::ExprStmt(stmt) => {
493 Some(Statement::Expr(self.collect_expr_opt(stmt.expr()))) 493 Some(Statement::Expr(self.collect_expr_opt(stmt.expr())))
494 } 494 }
495 ast::Stmt::ModuleItem(_) => None,
496 }) 495 })
497 .collect(); 496 .collect();
498 let tail = block.expr().map(|e| self.collect_expr(e)); 497 let tail = block.expr().map(|e| self.collect_expr(e));