aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-10-20 17:23:55 +0100
committerJonas Schievink <[email protected]>2020-10-20 17:23:55 +0100
commit3fa04f35d279253865d060b6d4ecbd849fb22139 (patch)
tree9d10428d214c07dcc25c0203c23820d1adcd3afc
parent4cb3cf352f5496161bf3cfad92ca87dd92d51d37 (diff)
More detailed message
-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())