diff options
author | Aleksey Kladov <[email protected]> | 2020-04-09 12:00:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-09 12:00:09 +0100 |
commit | 689661c95968cb438f8bd1f10ce0ee096287741b (patch) | |
tree | a974bfe4160a0cb0d49146b239d68cdb99a6566d /crates/ra_hir_def/src/body/lower.rs | |
parent | 60f4d7bd8c0ecb9f23557464e824140a2be8f41a (diff) |
Scale back to only two traits
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, 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)); |