aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/diagnostics.rs
diff options
context:
space:
mode:
authorBrandon <[email protected]>2021-03-16 07:46:57 +0000
committerBrandon <[email protected]>2021-03-16 07:52:58 +0000
commit0103f5df8fff2ccdbfb03adfe432b69c7840cf42 (patch)
tree0ec3903c77b7311ccf52306d94cc052225b43c7d /crates/hir_def/src/diagnostics.rs
parentc0a2b4e826e1da20d3cfa8c279fcdffa24f32a7d (diff)
Fix missing unresolved macro diagnostic in function body
Diffstat (limited to 'crates/hir_def/src/diagnostics.rs')
-rw-r--r--crates/hir_def/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/diagnostics.rs b/crates/hir_def/src/diagnostics.rs
index 7188bb299..97abf8653 100644
--- a/crates/hir_def/src/diagnostics.rs
+++ b/crates/hir_def/src/diagnostics.rs
@@ -99,7 +99,7 @@ impl Diagnostic for UnresolvedImport {
99// 99//
100// This diagnostic is triggered if rust-analyzer is unable to resolve the path to a 100// This diagnostic is triggered if rust-analyzer is unable to resolve the path to a
101// macro in a macro invocation. 101// macro in a macro invocation.
102#[derive(Debug)] 102#[derive(Debug, Clone, Eq, PartialEq)]
103pub struct UnresolvedMacroCall { 103pub struct UnresolvedMacroCall {
104 pub file: HirFileId, 104 pub file: HirFileId,
105 pub node: AstPtr<ast::MacroCall>, 105 pub node: AstPtr<ast::MacroCall>,