Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_db/src/helpers.rs')
| -rw-r--r-- | crates/ide_db/src/helpers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide_db/src/helpers.rs b/crates/ide_db/src/helpers.rs index fcad172984..4a14a7f849 100644 --- a/crates/ide_db/src/helpers.rs +++ b/crates/ide_db/src/helpers.rs @@ -187,6 +187,7 @@ pub fn for_each_tail_expr(expr: &ast::Expr, cb: &mut dyn FnMut(&ast::Expr)) { | ast::Expr::TupleExpr(_) | ast::Expr::WhileExpr(_) | ast::Expr::LetExpr(_) + | ast::Expr::UnderscoreExpr(_) | ast::Expr::YieldExpr(_) => cb(expr), } } |