diff --git a/crates/hir_def/src/diagnostics.rs b/crates/hir_def/src/diagnostics.rs index ad3b6bf26b7..c9c08b01f80 100644 --- a/crates/hir_def/src/diagnostics.rs +++ b/crates/hir_def/src/diagnostics.rs @@ -102,7 +102,7 @@ fn code(&self) -> DiagnosticCode { } fn message(&self) -> String { // FIXME: say *why* it is configured out - "configured out".to_string() + "code is inactive due to #[cfg] directives".to_string() } fn display_source(&self) -> InFile { InFile::new(self.file, self.node.clone())