aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-11-17 15:14:45 +0000
committerLukas Wirth <[email protected]>2020-11-17 15:23:53 +0000
commitc868f0255f677a4cedb62c27af96758fffdd6f8f (patch)
tree1ecb70db8fdbe4ea9b9a8f7333d3f90bbf4c3dc0 /crates/hir_expand
parent789d9ca1d32afd55c7cb8d0db45652048abd7341 (diff)
Fill the diagnostic code field in publish_diagnostics
Diffstat (limited to 'crates/hir_expand')
-rw-r--r--crates/hir_expand/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/diagnostics.rs b/crates/hir_expand/src/diagnostics.rs
index 78ccc212c..1043c6aeb 100644
--- a/crates/hir_expand/src/diagnostics.rs
+++ b/crates/hir_expand/src/diagnostics.rs
@@ -20,7 +20,7 @@ use syntax::SyntaxNodePtr;
20 20
21use crate::InFile; 21use crate::InFile;
22 22
23#[derive(Copy, Clone, PartialEq)] 23#[derive(Copy, Clone, Debug, PartialEq)]
24pub struct DiagnosticCode(pub &'static str); 24pub struct DiagnosticCode(pub &'static str);
25 25
26impl DiagnosticCode { 26impl DiagnosticCode {