From c868f0255f677a4cedb62c27af96758fffdd6f8f Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 17 Nov 2020 16:14:45 +0100 Subject: Fill the diagnostic code field in publish_diagnostics --- crates/hir_expand/src/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_expand') 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; use crate::InFile; -#[derive(Copy, Clone, PartialEq)] +#[derive(Copy, Clone, Debug, PartialEq)] pub struct DiagnosticCode(pub &'static str); impl DiagnosticCode { -- cgit v1.2.3