Add test for macro expansion in various expressions

This commit is contained in:
Florian Diebold 2020-01-10 22:00:41 +01:00
parent 19eb7fa1db
commit dd6ec81d65
2 changed files with 81 additions and 1 deletions

View file

@ -190,7 +190,6 @@ fn to_fragment_kind(db: &dyn AstDatabase, macro_call_id: MacroCallId) -> Fragmen
TUPLE_EXPR => FragmentKind::Expr,
PAREN_EXPR => FragmentKind::Expr,
// FIXME: Add tests for following cases in hir_ty
FOR_EXPR => FragmentKind::Expr,
PATH_EXPR => FragmentKind::Expr,
LAMBDA_EXPR => FragmentKind::Expr,