diff options
author | Lukas Wirth <[email protected]> | 2020-11-17 15:14:45 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-11-17 15:23:53 +0000 |
commit | c868f0255f677a4cedb62c27af96758fffdd6f8f (patch) | |
tree | 1ecb70db8fdbe4ea9b9a8f7333d3f90bbf4c3dc0 /crates/hir_expand | |
parent | 789d9ca1d32afd55c7cb8d0db45652048abd7341 (diff) |
Fill the diagnostic code field in publish_diagnostics
Diffstat (limited to 'crates/hir_expand')
-rw-r--r-- | crates/hir_expand/src/diagnostics.rs | 2 |
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 | ||
21 | use crate::InFile; | 21 | use crate::InFile; |
22 | 22 | ||
23 | #[derive(Copy, Clone, PartialEq)] | 23 | #[derive(Copy, Clone, Debug, PartialEq)] |
24 | pub struct DiagnosticCode(pub &'static str); | 24 | pub struct DiagnosticCode(pub &'static str); |
25 | 25 | ||
26 | impl DiagnosticCode { | 26 | impl DiagnosticCode { |