diff --git a/crates/hir_def/src/diagnostics.rs b/crates/hir_def/src/diagnostics.rs index ad3b6bf26b..c9c08b01f8 100644 --- a/crates/hir_def/src/diagnostics.rs +++ b/crates/hir_def/src/diagnostics.rs @@ -102,7 +102,7 @@ impl Diagnostic for InactiveCode { } 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())