aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_def/src/lib.rs')
-rw-r--r--crates/hir_def/src/lib.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/crates/hir_def/src/lib.rs b/crates/hir_def/src/lib.rs
index 987485acc..3e7d496d5 100644
--- a/crates/hir_def/src/lib.rs
+++ b/crates/hir_def/src/lib.rs
@@ -736,8 +736,7 @@ fn macro_call_as_call_id(
736 db.upcast(), 736 db.upcast(),
737 krate, 737 krate,
738 MacroCallKind::FnLike { ast_id: call.ast_id, fragment }, 738 MacroCallKind::FnLike { ast_id: call.ast_id, fragment },
739 ) 739 ))
740 .into())
741 }; 740 };
742 Ok(res) 741 Ok(res)
743} 742}
@@ -765,8 +764,7 @@ fn derive_macro_as_call_id(
765 derive_name: last_segment.to_string(), 764 derive_name: last_segment.to_string(),
766 derive_attr_index: derive_attr.ast_index, 765 derive_attr_index: derive_attr.ast_index,
767 }, 766 },
768 ) 767 );
769 .into();
770 Ok(res) 768 Ok(res)
771} 769}
772 770
@@ -804,7 +802,6 @@ fn attr_macro_as_call_id(
804 attr_args: arg, 802 attr_args: arg,
805 invoc_attr_index: macro_attr.id.ast_index, 803 invoc_attr_index: macro_attr.id.ast_index,
806 }, 804 },
807 ) 805 );
808 .into();
809 Ok(res) 806 Ok(res)
810} 807}