diff options
Diffstat (limited to 'crates/hir_expand')
-rw-r--r-- | crates/hir_expand/src/db.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index ffb70f723..7fc700e82 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs | |||
@@ -395,7 +395,8 @@ fn to_fragment_kind(db: &dyn AstDatabase, id: MacroCallId) -> FragmentKind { | |||
395 | FragmentKind::Expr | 395 | FragmentKind::Expr |
396 | } | 396 | } |
397 | // FIXME: Expand to statements in appropriate positions; HIR lowering needs to handle that | 397 | // FIXME: Expand to statements in appropriate positions; HIR lowering needs to handle that |
398 | EXPR_STMT | BLOCK_EXPR => FragmentKind::Expr, | 398 | EXPR_STMT => FragmentKind::Statements, |
399 | BLOCK_EXPR => FragmentKind::Expr, | ||
399 | ARG_LIST => FragmentKind::Expr, | 400 | ARG_LIST => FragmentKind::Expr, |
400 | TRY_EXPR => FragmentKind::Expr, | 401 | TRY_EXPR => FragmentKind::Expr, |
401 | TUPLE_EXPR => FragmentKind::Expr, | 402 | TUPLE_EXPR => FragmentKind::Expr, |