aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_def/src')
-rw-r--r--crates/hir_def/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/diagnostics.rs b/crates/hir_def/src/diagnostics.rs
index ad3b6bf26..c9c08b01f 100644
--- a/crates/hir_def/src/diagnostics.rs
+++ b/crates/hir_def/src/diagnostics.rs
@@ -102,7 +102,7 @@ impl Diagnostic for InactiveCode {
102 } 102 }
103 fn message(&self) -> String { 103 fn message(&self) -> String {
104 // FIXME: say *why* it is configured out 104 // FIXME: say *why* it is configured out
105 "configured out".to_string() 105 "code is inactive due to #[cfg] directives".to_string()
106 } 106 }
107 fn display_source(&self) -> InFile<SyntaxNodePtr> { 107 fn display_source(&self) -> InFile<SyntaxNodePtr> {
108 InFile::new(self.file, self.node.clone()) 108 InFile::new(self.file, self.node.clone())