aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-01-10 21:00:41 +0000
committerFlorian Diebold <[email protected]>2020-01-10 21:08:02 +0000
commitdd6ec81d658f7cd06b7ed37174b170f0e8930eed (patch)
tree34754becb9ab974946d04729c76dc31ba0ba49d1 /crates/ra_hir_expand/src
parent19eb7fa1db7da8417314ddfafe7addbbd9c3b46a (diff)
Add test for macro expansion in various expressions
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r--crates/ra_hir_expand/src/db.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir_expand/src/db.rs b/crates/ra_hir_expand/src/db.rs
index 5d12c1584..af5b22d1c 100644
--- a/crates/ra_hir_expand/src/db.rs
+++ b/crates/ra_hir_expand/src/db.rs
@@ -190,7 +190,6 @@ fn to_fragment_kind(db: &dyn AstDatabase, macro_call_id: MacroCallId) -> Fragmen
190 TUPLE_EXPR => FragmentKind::Expr, 190 TUPLE_EXPR => FragmentKind::Expr,
191 PAREN_EXPR => FragmentKind::Expr, 191 PAREN_EXPR => FragmentKind::Expr,
192 192
193 // FIXME: Add tests for following cases in hir_ty
194 FOR_EXPR => FragmentKind::Expr, 193 FOR_EXPR => FragmentKind::Expr,
195 PATH_EXPR => FragmentKind::Expr, 194 PATH_EXPR => FragmentKind::Expr,
196 LAMBDA_EXPR => FragmentKind::Expr, 195 LAMBDA_EXPR => FragmentKind::Expr,