From 13451d3dc4477cc1dab38d6d66643de4bd4aa59e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 17 Oct 2020 23:43:13 +0200 Subject: Complete methods when receiver is a macro --- crates/hir_expand/src/db.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_expand/src/db.rs') diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index b591130ca..ade57ac1b 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs @@ -389,6 +389,7 @@ fn to_fragment_kind(db: &dyn AstDatabase, id: MacroCallId) -> FragmentKind { CALL_EXPR => FragmentKind::Expr, INDEX_EXPR => FragmentKind::Expr, METHOD_CALL_EXPR => FragmentKind::Expr, + FIELD_EXPR => FragmentKind::Expr, AWAIT_EXPR => FragmentKind::Expr, CAST_EXPR => FragmentKind::Expr, REF_EXPR => FragmentKind::Expr, -- cgit v1.2.3