aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-11 03:51:04 +0000
committerGitHub <[email protected]>2020-01-11 03:51:04 +0000
commit991b62a4f935ce49dafbf0ce252f7fdb467daae8 (patch)
tree4a3f664b0b4337500cf904661597a9169511de85 /crates/ra_hir_expand
parenta9ba32e2e659dbbe78f7921f5b0abe7288c83aa9 (diff)
parentdd6ec81d658f7cd06b7ed37174b170f0e8930eed (diff)
Merge #2790
2790: Add test for macro expansion in various expressions r=edwin0cheng a=flodiebold cc @edwin0cheng Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand')
-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,